--- loncom/interface/lonpreferences.pm 2009/05/12 14:56:27 1.161 +++ loncom/interface/lonpreferences.pm 2009/05/12 15:20:23 1.162 @@ -1,7 +1,7 @@ # The LearningOnline Network # Preferences # -# $Id: lonpreferences.pm,v 1.161 2009/05/12 14:56:27 bisitz Exp $ +# $Id: lonpreferences.pm,v 1.162 2009/05/12 15:20:23 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -232,6 +232,21 @@ sub texenginechanger { 'mimetex' => 'mimetex (Convert to Images):', ); + my $jsMathWarning='

' + .'

' + .&mt("It looks like you don't have the TeX math fonts installed.") + .'
' + .'
' + .&mt('The jsMath example on this page may not look right without them. ' + .'The [_1]jsMath Home Page[_2] has information on how to download the ' + .'needed fonts. In the meantime, jsMath will do the best it can ' + .'with the fonts you have, but it may not be pretty and some equations ' + .'may not be rendered correctly.' + ,'' + ,'') + .'
' + .'

'; + $r->print(<$lt{'headline'}
@@ -251,18 +266,7 @@ $lt{'exmpl'} $jsMath_start