--- loncom/homework/structuretags.pm 2006/03/30 20:16:14 1.340 +++ loncom/homework/structuretags.pm 2006/04/11 18:42:58 1.341 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.340 2006/03/30 20:16:14 albertel Exp $ +# $Id: structuretags.pm,v 1.341 2006/04/11 18:42:58 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -89,10 +89,8 @@ sub body_tag_start { } $body_tag_start.='>'.&Apache::lonmenu::menubuttons(undef,$target,1); - &Apache::lontexconvert::jsMath_reset(); - if ($env{'environment.texengine'} eq 'jsMath') { - $body_tag_start.=&Apache::lontexconvert::jsMath_header(); - } + $body_tag_start.=&Apache::lontexconvert::init_math_support(); + return $body_tag_start; }