--- loncom/xml/lontexconvert.pm 2003/02/05 22:50:44 1.15 +++ loncom/xml/lontexconvert.pm 2003/02/25 22:50:11 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # TeX Conversion Module # -# $Id: lontexconvert.pm,v 1.15 2003/02/05 22:50:44 albertel Exp $ +# $Id: lontexconvert.pm,v 1.17 2003/02/25 22:50:11 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,6 +46,7 @@ use tth; use vars qw($errorstring); use Apache::lonmsg; use Apache::lonxml; +use Apache::lonmenu; # ====================================================================== Header @@ -70,7 +71,7 @@ sub header { return &Apache::lonxml::xmlbegin(). &Apache::lonxml::fontsettings(). "\n\n". - &Apache::lonxml::registerurl(undef,'tex'). + &Apache::lonmenu::registerurl(undef,'tex'). "\n\n"; } @@ -122,6 +123,7 @@ sub to_convert { sub msgtexconverted { my $message=shift; + $errorstring=''; if ($ENV{'browser.mathml'}) { &tth::ttminit(); if ($ENV{'browser.unicode'}) {