--- loncom/interface/loncommon.pm 2007/08/11 15:18:24 1.561 +++ loncom/interface/loncommon.pm 2007/08/14 19:32:27 1.562 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.561 2007/08/11 15:18:24 www Exp $ +# $Id: loncommon.pm,v 1.562 2007/08/14 19:32:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3397,6 +3397,9 @@ Inputs: =item * $args, optional argument valid values are no_auto_mt_title -> prevents &mt()ing the title arg + inherit_jsmath -> when creating popup window in a page, + should it have jsmath forced on by the + current page =back @@ -3453,7 +3456,7 @@ sub bodytag { # construct main body tag my $bodytag = "". - &Apache::lontexconvert::init_math_support(); + &Apache::lontexconvert::init_math_support($args->{'inherit_jsmath'}); if ($bodyonly) { return $bodytag; @@ -4711,6 +4714,10 @@ Inputs: $title - optional title for the no_auto_mt_title -> prevent &mt()ing the title arg + inherit_jsmath -> when creating popup window in a page, + should it have jsmath forced on by the + current page + =cut sub start_page {