--- loncom/xml/londefdef.pm 2009/04/20 10:40:04 1.402 +++ loncom/xml/londefdef.pm 2009/05/15 18:06:20 1.405 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.402 2009/04/20 10:40:04 foxr Exp $ +# $Id: londefdef.pm,v 1.405 2009/05/15 18:06:20 bisitz Exp $ # # # Copyright Michigan State University Board of Trustees @@ -543,7 +543,7 @@ sub start_body { $Apache::londefdef::head .$extra_head, {'add_entries' => $token->[2], - 'no_title' => 1, +# 'no_title' => 1, 'force_register' => 1}); if ($env{'request.state'} ne 'published') { @@ -552,7 +552,7 @@ sub start_body { } $currentstring.=&Apache::lonxml::message_location(); } elsif ($target eq 'tex') { - $currentstring = '\begin{document}'; + $currentstring = ''; # '\begin{document}' is in header. } return $currentstring; } @@ -1349,10 +1349,6 @@ sub start_font { my $currentstring = ''; if ($target eq 'web' || $target eq 'webgrade') { my $face=&Apache::lonxml::get_param('face',$parstack,$safeeval); - if ($face!~/symbol/i) { - if (($env{'browser.fontenhance'} eq 'on') || - ($env{'browser.blackwhite'} eq 'on')) { return ''; } - } $currentstring = $token->[4]; } elsif ($target eq 'tex') { my $fontsize=&Apache::lonxml::get_param('TeXsize',$parstack,$safeeval); @@ -3508,7 +3504,7 @@ sub start_frameset { &Apache::loncommon::start_page($Apache::londefdef::title, $Apache::londefdef::head, {'add_entries' => $token->[2], - 'no_title' => 1, +# 'no_title' => 1, 'force_register' => 1, 'frameset' => 1,});