--- loncom/xml/londefdef.pm 2004/01/12 15:44:30 1.193 +++ loncom/xml/londefdef.pm 2004/01/28 17:16:27 1.194 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.193 2004/01/12 15:44:30 albertel Exp $ +# $Id: londefdef.pm,v 1.194 2004/01/28 17:16:27 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -151,21 +151,8 @@ sub end_tthoption { sub start_html { my ($target,$token) = @_; my $currentstring = ''; - if ($ENV{'browser.mathml'}) { - &tth::ttminit(); - if ($ENV{'browser.unicode'}) { - &tth::ttmoptions('-L -u1'); - } else { - &tth::ttmoptions('-L -u0'); - } - } else { - &tth::tthinit(); - if ($ENV{'browser.unicode'}) { - &tth::tthoptions('-L -u1'); - } else { - &tth::tthoptions('-L -u0'); - } - } + my $options=$ENV{'course.'.$ENV{'request.course.id'}.'.tthoptions'}; + &init_tth(); if ($target eq 'web' || $target eq 'edit') { $currentstring = &Apache::lonxml::xmlbegin(). &Apache::lonxml::fontsettings();