| 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.66 2004/05/23 01:38:16 gage Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.67 2004/05/23 23:17:23 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. |
| … | |
… | |
| 269 | ################################################################################ |
269 | ################################################################################ |
| 270 | # PG translation options |
270 | # PG translation options |
| 271 | ################################################################################ |
271 | ################################################################################ |
| 272 | |
272 | |
| 273 | %pg = ( |
273 | %pg = ( |
| 274 | # options for various renderers |
274 | # available display modes |
| 275 | renderers => { |
275 | displayModes => [ qw(plainText formattedText images jsMath) ], |
| 276 | "WeBWorK::PG::Remote" => { |
276 | # pg options |
| 277 | proxy => "http://localhost:21000/RenderD" |
|
|
| 278 | } |
|
|
| 279 | }, |
|
|
| 280 | # currently selected renderer |
|
|
| 281 | renderer => "WeBWorK::PG::Local", |
|
|
| 282 | #renderer => "WeBWorK::PG::Remote", |
|
|
| 283 | # directories used by PG |
|
|
| 284 | directories => { |
|
|
| 285 | # directories used only by PG |
|
|
| 286 | root => "$pgRoot", |
|
|
| 287 | lib => "$pgRoot/lib", |
|
|
| 288 | macros => "$pgRoot/macros", |
|
|
| 289 | }, |
|
|
| 290 | options => { |
277 | options => { |
| 291 | # default translation options |
278 | # default translation options |
| 292 | displayMode => "images", |
279 | displayMode => "images", |
| 293 | showOldAnswers => 1, |
280 | showOldAnswers => 1, |
| 294 | showCorrectAnswers => 0, |
281 | showCorrectAnswers => 0, |
| 295 | showHints => 0, |
282 | showHints => 0, |
| 296 | showSolutions => 0, |
283 | showSolutions => 0, |
| 297 | catchWarnings => 0, # there's a global warning catcher now |
284 | catchWarnings => 0, # there's a global warning catcher now |
| 298 | # default grader |
285 | # default grader |
| 299 | grader => "avg_problem_grader", |
286 | grader => "avg_problem_grader", |
|
|
287 | }, |
|
|
288 | # options for various renderers |
|
|
289 | renderers => { |
|
|
290 | "WeBWorK::PG::Remote" => { |
|
|
291 | proxy => "http://localhost:21000/RenderD" |
|
|
292 | } |
|
|
293 | }, |
|
|
294 | # currently selected renderer |
|
|
295 | renderer => "WeBWorK::PG::Local", |
|
|
296 | #renderer => "WeBWorK::PG::Remote", |
|
|
297 | # directories used by PG |
|
|
298 | directories => { |
|
|
299 | # directories used only by PG |
|
|
300 | root => "$pgRoot", |
|
|
301 | lib => "$pgRoot/lib", |
|
|
302 | macros => "$pgRoot/macros", |
| 300 | }, |
303 | }, |
| 301 | # this will be customized in the course.conf file |
304 | # this will be customized in the course.conf file |
| 302 | specialPGEnvironmentVars => { |
305 | specialPGEnvironmentVars => { |
| 303 | PRINT_FILE_NAMES_FOR => [ qw(professor) ], |
306 | PRINT_FILE_NAMES_FOR => [ qw(professor) ], |
| 304 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |
307 | CAPA_Tools => "$courseDirs{macros}/CAPA_Tools/", |