--- loncom/xml/londefdef.pm 2006/03/22 19:37:44 1.322 +++ loncom/xml/londefdef.pm 2006/03/23 22:34:53 1.323 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.322 2006/03/22 19:37:44 albertel Exp $ +# $Id: londefdef.pm,v 1.323 2006/03/23 22:34:53 foxr Exp $ # # # Copyright Michigan State University Board of Trustees @@ -1204,11 +1204,13 @@ sub start_p { $currentstring = ¢er_correction().$currentstring; } } elsif ($align eq 'right') { - $currentstring.='\makebox['.$env{'form.textwidth'}.']{\hfill\llap{'; - $closing_string= '}}'; + $currentstring.="\n".'{\flushright '; +# $currentstring.='\makebox['.$env{'form.textwidth'}.']{\hfill\llap{'; + $closing_string= "}\n"; } elsif ($align eq 'left') { - $currentstring.='\noindent\makebox['.$env{'form.textwidth'}.']{\rlap{'; - $closing_string = '}\hfill}'; + $currentstring.= "\n".'{\flushleft '; +# $currentstring.='\noindent\makebox['.$env{'form.textwidth'}.']{{'; + $closing_string = "}\n"; } else { $currentstring.='\par '; if (&is_inside_of($tagstack, 'table')) { @@ -2824,6 +2826,7 @@ sub start_img { if (($latex_rendering eq 'texwrap') && &is_inside_of($tagstack, "table")) { $latex_rendering = 'parpic'; } + # &Apache::lonxml::debug("LaTeX rendering = $latex_rendering image file: $src"); #if original gif/jpg/png file exist do following: