--- loncom/xml/lontex.pm 2001/11/29 19:03:58 1.3 +++ loncom/xml/lontex.pm 2005/02/17 09:01:04 1.6 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # TeX Content Handler # -# $Id: lontex.pm,v 1.3 2001/11/29 19:03:58 www Exp $ +# $Id: lontex.pm,v 1.6 2005/02/17 09:01:04 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -57,9 +57,9 @@ sub handler { # ----------------------------------------------------------- Set document type if ($ENV{'browser.mathml'}) { - $r->content_type('text/xml'); + &Apache::loncommon::content_type($r,'text/xml'); } else { - $r->content_type('text/html'); + &Apache::loncommon::content_type($r,'text/html'); } $r->send_http_header; @@ -78,7 +78,13 @@ sub handler { $r->print(&Apache::lontexconvert::header()); $r->print( - ''); + ''. + &Apache::lonmenu::menubuttons(undef,'web',1) + ); $r->print(&Apache::lontexconvert::converted(\$texstring)); $r->print(''); $r->print(&Apache::lontexconvert::footer());