--- loncom/xml/londefdef.pm 2004/02/19 19:34:09 1.198 +++ loncom/xml/londefdef.pm 2004/03/09 20:37:58 1.201 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.198 2004/02/19 19:34:09 sakharuk Exp $ +# $Id: londefdef.pm,v 1.201 2004/03/09 20:37:58 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -535,12 +535,13 @@ sub start_body { if ($ENV{'request.state'} ne 'published') { $currentstring.=(< - + EDITBUTTON } else { $currentstring.=&Apache::lonmenu::menubuttons(undef,$target,1); } + $currentstring.=&Apache::lonxml::message_location(); } elsif ($target eq 'tex') { $currentstring = '\begin{document}'; } @@ -635,7 +636,7 @@ sub start_h1 { $currentstring .= $token->[4]; } elsif ($target eq 'tex') { my $pre; - my $align=&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1); + my $align=lc(&Apache::lonxml::get_param('align',$parstack,$safeeval,undef,1)); if (($align eq 'center') || (not defined $align)) { $pre='\begin{center}'; } elsif ($align eq 'left') {