--- rat/lonpage.pm 2004/02/24 19:14:42 1.55 +++ rat/lonpage.pm 2004/03/22 20:37:06 1.56 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.55 2004/02/24 19:14:42 www Exp $ +# $Id: lonpage.pm,v 1.56 2004/03/22 20:37:06 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -234,6 +234,13 @@ sub handler { # --------------------------------------------------------- This is an SSI cell my $prefix=$_.'_'; my %posthash=('request.prefix' => $prefix); + if ($ENV{'form.grade_target'} eq 'tex') { + $posthash{'grade_target'}=$ENV{'form.grade_target'}; + $posthash{'textwidth'}=$ENV{'form.textwidth'}; + $posthash{'problem_split'}=$ENV{'form.problem_split'}; + $posthash{'latex_type'}=$ENV{'form.latex_type'}; + $posthash{'rndseed'}=$ENV{'form.rndseed'}; + } if (($ENV{'form.'.$prefix.'submit'}) || ($ENV{'form.all_submit'})) { foreach (keys %ENV) { @@ -377,7 +384,7 @@ sub handler { $r->print('