Log Message:
-----------
Changes needed for version 2 of jsMath. Since the image font fallback
method works well enough without having the TeX fonts installed, the
font warning message has been turned off by default. There is also a
new parameter that controls whether the image fonts are to be used, so
if you don't want to unpack the jsMath-fonts.tar.gz file (for space
considerations), you should set
$pg{displayModeOptions}{jsMath}{noImageFonts} = 1;
in global.conf.
Modified Files:
--------------
webwork-modperl/conf:
global.conf.dist
Revision Data
-------------
Index: global.conf.dist
===================================================================
RCS file: /webwork/cvs/system/webwork-modperl/conf/global.conf.dist,v
retrieving revision 1.126
retrieving revision 1.127
diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.126 -r1.127
--- conf/global.conf.dist
+++ conf/global.conf.dist
@@ -175,7 +175,7 @@
$webworkURLs{stylesheet} = "$webworkURLs{htdocs}/css/ur.css";
# Location of jsMath script, used for the jsMath display mode.
-$webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js";
+$webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath-ww.js";
# Location of ASCIIMathML script, used for the asciimath display mode.
$webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js";
@@ -627,8 +627,9 @@
};
$pg{displayModeOptions}{jsMath} = {
- reportMissingFonts => 1, # set to 0 to prevent the missing font message
- missingFontMessage => undef, # set to an HTML string to use for the missing font message
+ reportMissingFonts => 0, # set to 1 to allow the missing font message
+ missingFontMessage => undef, # set to an HTML string to replace the missing font message
+ noImageFonts => 0, # set to 1 if you didn't install the jsMath image fonts
};
##### Directories used by PG
|