--- loncom/xml/londefdef.pm 2010/01/30 21:46:06 1.414 +++ loncom/xml/londefdef.pm 2010/02/01 12:03:19 1.415 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.414 2010/01/30 21:46:06 raeburn Exp $ +# $Id: londefdef.pm,v 1.415 2010/02/01 12:03:19 foxr Exp $ # # # Copyright Michigan State University Board of Trustees @@ -4751,7 +4751,7 @@ sub align_latex_image { # Even though we set a default alignment value, the user # could have given us an illegal value. In that case we # just use the default alignment of bottom.. - $currentstring = "\n% figurewrapping \n"; + $currentstring = ''; if ($align eq "top") { $currentstring .= '\raisebox{-'.$height.'mm}{'.$image; $closure = '}'; @@ -4794,8 +4794,6 @@ sub align_latex_image { $currentstring .= "{$image"; $closure = '}'; } - $currentstring .= "\n% end wrappage\n"; - $closure = "\n% Begin closure\n".$closure."\n% End closure\n"; return ($currentstring, $closure); }