Diff for /loncom/xml/londefdef.pm between versions 1.261 and 1.262

version 1.261, 2005/03/14 23:48:57 version 1.262, 2005/03/15 11:20:49
Line 2505  sub start_img { Line 2505  sub start_img {
     &Apache::lonxml::debug("$src exists");      &Apache::lonxml::debug("$src exists");
     my ($height_param,$width_param)=      my ($height_param,$width_param)=
  &image_size($src,0.3,$parstack,$safeeval);   &image_size($src,0.3,$parstack,$safeeval);
     $currentstring .= '\graphicspath{{'.$path.'}}'      my $destpath = $path;
       $destpath    =~ s/ /\_/; # Spaces in path cause LaTex to vomit.
       $currentstring .= '\graphicspath{{'.$destpath.'}}'
  .'\includegraphics[width='.$width_param.' mm,height='.$height_param.'mm]{'.$file.'} ';   .'\includegraphics[width='.$width_param.' mm,height='.$height_param.'mm]{'.$file.'} ';
   
     #    If there's an alignment specification we need to honor it here.      #    If there's an alignment specification we need to honor it here.

Removed from v.1.261  
changed lines
  Added in v.1.262


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>