--- loncom/interface/loncommon.pm 2005/06/30 17:56:28 1.268 +++ loncom/interface/loncommon.pm 2005/07/12 15:54:19 1.270 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.268 2005/06/30 17:56:28 albertel Exp $ +# $Id: loncommon.pm,v 1.270 2005/07/12 15:54:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2728,11 +2728,9 @@ a:focus { color: red; background: yellow END + &Apache::lontexconvert::jsMath_reset(); if ($env{'environment.texengine'} eq 'jsMath') { - $bodytag.=''."\n". - ''."\n"; + $bodytag.=&Apache::lontexconvert::jsMath_header(); } my $upperleft=''. - ''. + ''. $titleinfo.''.$roleinfo.''; if ($env{'request.state'} eq 'construct') { $bodytag .= &Apache::lonmenu::menubuttons($forcereg,'web',$forcereg,$titletable); @@ -2879,10 +2877,7 @@ Returns: A uniform footer for LON-CAPA w sub endbodytag { my $endbodytag=''; - if ($env{'environment.texengine'} eq 'jsMath') { - $endbodytag=''. - "\n".$endbodytag; - } + $endbodytag=&Apache::lontexconvert::jsMath_process()."\n".$endbodytag; return $endbodytag; }