--- loncom/xml/lontex.pm 2005/02/17 09:01:04 1.6 +++ loncom/xml/lontex.pm 2005/04/07 06:56:27 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # TeX Content Handler # -# $Id: lontex.pm,v 1.6 2005/02/17 09:01:04 albertel Exp $ +# $Id: lontex.pm,v 1.7 2005/04/07 06:56:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -45,6 +45,7 @@ use strict; use Apache::File; use Apache::lontexconvert; use Apache::Constants qw(:common); +use Apache::lonnet; use tth; # ================================================================ Main Handler @@ -56,7 +57,7 @@ sub handler { # ----------------------------------------------------------- Set document type - if ($ENV{'browser.mathml'}) { + if ($env{'browser.mathml'}) { &Apache::loncommon::content_type($r,'text/xml'); } else { &Apache::loncommon::content_type($r,'text/html');