--- loncom/xml/londefdef.pm 2005/09/22 10:27:25 1.287 +++ loncom/xml/londefdef.pm 2005/10/18 21:30:49 1.289 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.287 2005/09/22 10:27:25 foxr Exp $ +# $Id: londefdef.pm,v 1.289 2005/10/18 21:30:49 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -2531,7 +2531,8 @@ sub start_img { my $inside = &Apache::lonxml::get_all_text("/img",$parser); return ''; } - $Apache::lonxml::extlinks[$#Apache::lonxml::extlinks+1]=$src; + push(@Apache::lonxml::extlinks, + &Apache::lonnet::clutter(&Apache::lonnet::hreflocation($Apache::lonxml::pwd[-1],$src))); my $currentstring = ''; my $scaling = .3; @@ -2585,7 +2586,7 @@ sub start_img { undef,0); &Apache::lonxml::debug("LaTeX rendering = $latex_rendering"); if(!$latex_rendering) { - $latex_rendering = "parbox"; + $latex_rendering = "texwrap"; } &Apache::lonxml::debug("LaTeX rendering = $latex_rendering image file: $src");