| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.125 2005/07/26 21:15:04 jj Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.126 2005/07/31 17:24:50 gage Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 173 | |
173 | |
| 174 | # Location of CSS |
174 | # Location of CSS |
| 175 | $webworkURLs{stylesheet} = "$webworkURLs{htdocs}/css/ur.css"; |
175 | $webworkURLs{stylesheet} = "$webworkURLs{htdocs}/css/ur.css"; |
| 176 | |
176 | |
| 177 | # Location of jsMath script, used for the jsMath display mode. |
177 | # Location of jsMath script, used for the jsMath display mode. |
| 178 | $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; |
178 | $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath-ww.js"; |
| 179 | |
179 | |
| 180 | # Location of ASCIIMathML script, used for the asciimath display mode. |
180 | # Location of ASCIIMathML script, used for the asciimath display mode. |
| 181 | $webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js"; |
181 | $webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js"; |
| 182 | |
182 | |
| 183 | ################################################################################ |
183 | ################################################################################ |
| … | |
… | |
| 625 | passwd => $dbLayouts{sql}->{password}->{params}->{passwordRW}, |
625 | passwd => $dbLayouts{sql}->{password}->{params}->{passwordRW}, |
| 626 | }, |
626 | }, |
| 627 | }; |
627 | }; |
| 628 | |
628 | |
| 629 | $pg{displayModeOptions}{jsMath} = { |
629 | $pg{displayModeOptions}{jsMath} = { |
| 630 | reportMissingFonts => 1, # set to 0 to prevent the missing font message |
630 | reportMissingFonts => 0, # set to 1 to allow the missing font message |
| 631 | missingFontMessage => undef, # set to an HTML string to use for the missing font message |
631 | missingFontMessage => undef, # set to an HTML string to replace the missing font message |
|
|
632 | noImageFonts => 0, # set to 1 if you didn't install the jsMath image fonts |
| 632 | }; |
633 | }; |
| 633 | |
634 | |
| 634 | ##### Directories used by PG |
635 | ##### Directories used by PG |
| 635 | |
636 | |
| 636 | # The root of the PG directory tree (from pg_root in Apache config). |
637 | # The root of the PG directory tree (from pg_root in Apache config). |