| 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.127 2005/08/21 00:03:38 dpvc Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.128 2005/08/22 01:23:16 jj 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. |
| … | |
… | |
| 675 | $pg{specialPGEnvironmentVars}{CAPA_GraphicsDirectory} = "$courseDirs{html}/CAPA_Graphics/", |
675 | $pg{specialPGEnvironmentVars}{CAPA_GraphicsDirectory} = "$courseDirs{html}/CAPA_Graphics/", |
| 676 | $pg{specialPGEnvironmentVars}{CAPA_Graphics_URL} = "$courseURLs{html}/CAPA_Graphics/", |
676 | $pg{specialPGEnvironmentVars}{CAPA_Graphics_URL} = "$courseURLs{html}/CAPA_Graphics/", |
| 677 | |
677 | |
| 678 | # Size in pixels of dynamically-generated images, i.e. graphs. |
678 | # Size in pixels of dynamically-generated images, i.e. graphs. |
| 679 | $pg{specialPGEnvironmentVars}{onTheFlyImageSize} = 400, |
679 | $pg{specialPGEnvironmentVars}{onTheFlyImageSize} = 400, |
|
|
680 | |
|
|
681 | # Strings to insert at the start and end of the body of a problem |
|
|
682 | # (at beginproblem() and ENDDOCUMENT) in various modes. More display modes |
|
|
683 | # can be added if different behaviours are desired (e.g., HTML_dpng, |
|
|
684 | # HTML_asciimath, etc.). These parts are not used in the Library browser. |
|
|
685 | |
|
|
686 | $pg{specialPGEnvironmentVars}{problemPreamble} = { TeX => '', HTML=> '' }; |
|
|
687 | $pg{specialPGEnvironmentVars}{problemPostamble} = { TeX => '', HTML=>'' }; |
|
|
688 | |
|
|
689 | # To have the problem body indented and boxed, uncomment: |
|
|
690 | |
|
|
691 | # $pg{specialPGEnvironmentVars}{problemPreamble}{HTML} = '<BLOCKQUOTE> |
|
|
692 | # <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=15 BGCOLOR=#E8E8E8><TR><TD>'; |
|
|
693 | # $pg{specialPGEnvironmentVars}{problemPostamble}{HTML} = '</TD></TR></TABLE> |
|
|
694 | # </BLOCKQUOTE>'; |
| 680 | |
695 | |
| 681 | ##### PG modules to load |
696 | ##### PG modules to load |
| 682 | |
697 | |
| 683 | # The first item of each list is the module to load. The remaining items are |
698 | # The first item of each list is the module to load. The remaining items are |
| 684 | # additional packages to import. |
699 | # additional packages to import. |