--- loncom/xml/lontexconvert.pm 2004/07/22 23:18:00 1.38 +++ loncom/xml/lontexconvert.pm 2005/02/09 15:45:19 1.42 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # TeX Conversion Module # -# $Id: lontexconvert.pm,v 1.38 2004/07/22 23:18:00 raeburn Exp $ +# $Id: lontexconvert.pm,v 1.42 2005/02/09 15:45:19 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -76,8 +76,8 @@ sub header { my $time=time; &init_tth(); return &Apache::lonxml::xmlbegin(). - &Apache::lonxml::fontsettings(). "\n\n". + &Apache::lonxml::fontsettings(). &Apache::lonmenu::registerurl(undef,'tex'). "\n\n"; } @@ -112,6 +112,7 @@ sub convert_real { $errorstring.=&tth::ttherror(); $xmlstring=~s---g; } + $xmlstring=~s/\s*\
0) { - if ($message =~ /::::\d+::::(.+)$/) { - $message = $1; - } - } foreach (split(/(?:\<\;|\<)\/*m\s*(?:\>\;|\>)/i,$message)) { if ($tex) { if ($email) {