--- loncom/xml/lontexconvert.pm 2007/08/14 19:32:35 1.84 +++ loncom/xml/lontexconvert.pm 2008/09/10 19:45:23 1.89 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # TeX Conversion Module # -# $Id: lontexconvert.pm,v 1.84 2007/08/14 19:32:35 albertel Exp $ +# $Id: lontexconvert.pm,v 1.89 2008/09/10 19:45:23 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -108,6 +108,14 @@ sub convert_real { $xmlstring=~s/^\s*\
parse($string); @@ -360,7 +370,9 @@ sub algebra { $latex='\\ensuremath{'.$latex.'}'; } if ($target eq 'web' || $target eq 'analyze') { - $result = &converted(\$latex); + my $display=&Apache::lonxml::get_param('display',$parstack,$safeeval); + $result = &converted(\$latex,$display); +# $result = &converted(\$latex); } else { $result = $latex; }