--- loncom/interface/lonpreferences.pm 2005/02/26 05:37:23 1.56 +++ loncom/interface/lonpreferences.pm 2005/02/28 19:08:11 1.57 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.56 2005/02/26 05:37:23 albertel Exp $ +# $Id: lonpreferences.pm,v 1.57 2005/02/28 19:08:11 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -192,7 +192,7 @@ sub texenginechanger { 'tth' => 'TeX to HTML', 'ttm' => 'TeX to MathML', 'jsMath' => 'jsMath', - #'mimetex' => 'Convert to Images' + 'mimetex' => 'Convert to Images' ); my $selectionbox=&Apache::loncommon::select_form($texengine,'texengine', %mathchoices); @@ -200,6 +200,8 @@ sub texenginechanger { my $jsMath_example=&Apache::lontexconvert::jsMath_converted(\$mathexample); $mathexample='$$\int\left(\frac{a+b}{c^6*d}\right)$$'; my $tth_example=&Apache::lontexconvert::tth_converted(\$mathexample); + $mathexample='$$\int\left(\frac{a+b}{c^6*d}\right)$$'; + my $mimetex_example=&Apache::lontexconvert::mimetex_converted(\$mathexample); my $change=&mt('Change'); $r->print(< @@ -209,11 +211,11 @@ sub texenginechanger { Examples:

TeX to HTML
$tth_example

- +

jsMath
- $jsMath_example

+

Convert to Images
$mimetex_example

ENDLSCREEN if ($ENV{'environment.texengine'} ne 'jsMath') { $r->print('');