--- loncom/xml/londefdef.pm 2007/07/17 19:05:24 1.374 +++ loncom/xml/londefdef.pm 2007/10/15 20:00:12 1.375.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.374 2007/07/17 19:05:24 albertel Exp $ +# $Id: londefdef.pm,v 1.375.2.1 2007/10/15 20:00:12 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -1268,9 +1268,7 @@ sub start_br { $signal = 1; } } - if ($signal eq 1) { - $currentstring .= ' \vskip 0 mm '; - } else { + if ($signal != 1) { $currentstring .= '\strut \\\\ \strut '; } @@ -4540,6 +4538,12 @@ sub align_latex_image { my ($align, $latex_rendering, $image, $width, $height) = @_; my $currentstring; # The 1/2 wrapped image. my $closure; # The closure of the wrappage. + + # if it's none just return it back + if ($latex_rendering eq 'none') { + return ($image,''); + } + # If there's an alignment specification we need to honor it here. # For the horizontal alignments, we will also honor the # value of the latex specfication. The default is parbox,