Parent Directory
|
Revision Log
changed default database layout to sql_single
1 #!perl 2 ################################################################################ 3 # WeBWorK Online Homework Delivery System 4 # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 5 # $CVSHeader: webwork2/conf/global.conf.dist,v 1.97 2004/08/23 19:14:42 jj Exp $ 6 # 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 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. 11 # 12 # This program is distributed in the hope that it will be useful, but WITHOUT 13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 14 # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the 15 # Artistic License for more details. 16 ################################################################################ 17 18 # This file is used to set up the default WeBWorK course environment for all 19 # requests. Values may be overwritten by the course.conf for a specific course. 20 # All package variables set in this file are added to the course environment. 21 # If you wish to set a variable here but omit it from the course environment, 22 # use the "my" keyword. The $webwork_dir variable is set in the WeBWorK Apache 23 # configuration file (webwork.apache-config) and is available for use here. In 24 # addition, the $courseName variable holds the name of the current course. 25 26 ################################################################################ 27 # Seed variables 28 ################################################################################ 29 30 # Set these variables to correspond to your configuration and preferences. You 31 # will need to restart the webserver to reset the variables in this section 32 33 # URL of WeBWorK handler. 34 $webwork_url = "/webwork2"; 35 36 # Root directory of PG. 37 $pg_dir = "/opt/pg"; 38 39 # URL and path to htdocs directory. 40 $webwork_htdocs_url = "/webwork2_files"; 41 $webwork_htdocs_dir = "$webwork_dir/htdocs"; 42 43 # URL and path to courses directory. 44 $webwork_courses_url = "/webwork2_course_files"; 45 $webwork_courses_dir = "$webwork_dir/courses"; 46 47 ################################################################################ 48 # Paths to external programs 49 ################################################################################ 50 51 $externalPrograms{mkdir} = "/bin/mkdir"; 52 $externalPrograms{mysql} = "/usr/local/bin/mysql"; 53 54 $externalPrograms{latex} = "/usr/local/bin/latex"; 55 $externalPrograms{pdflatex} = "/usr/local/bin/pdflatex"; 56 $externalPrograms{dvipng} = "/usr/local/bin/dvipng"; 57 $externalPrograms{tth} = "/usr/local/bin/tth"; 58 59 ################################################################################ 60 # Mail settings 61 ################################################################################ 62 63 # Mail sent by the PG system and the mail merge and feedback modules will be 64 # sent via this SMTP server. 65 $mail{smtpServer} = 'mail.yourschool.edu'; 66 67 # When connecting to the above server, WeBWorK will send this address in the 68 # MAIL FROM command. This has nothing to do with the "From" address on the mail 69 # message. It can really be anything, but some mail servers require it contain 70 # a valid mail domain, or at least be well-formed. 71 $mail{smtpSender} = 'webwork@yourserver.yourschool.edu'; 72 73 # AllowedRecipients defines addresses that the PG system is allowed to send mail 74 # to. this prevents subtle PG exploits. This should be set in course.conf to the 75 # addresses of professors of each course. Sending mail from the PG system (i.e. 76 # questionaires, essay questions) will fail if this is not set somewhere (either 77 # here or in course.conf). 78 $mail{allowedRecipients} = [ 79 #'prof1@yourserver.yourdomain.edu', 80 #'prof2@yourserver.yourdomain.edu', 81 ]; 82 83 # If defined, feedbackRecipients overrides the list of recipients for feedback 84 # email. It's appropriate to set this in the course.conf for specific courses, 85 # but probably not in global.conf. if not defined, mail is sent to all 86 # professors and TAs for a given course 87 #$mail{feedbackRecipients} = [ 88 # 'prof1@yourserver.yourdomain.edu', 89 # 'prof2@yourserver.yourdomain.edu', 90 #]; 91 92 # feedbackVerbosity: 93 # 0: send only the feedback comment and context link 94 # 1: as in 0, plus user, set, problem, and PG data 95 # 2: as in 1, plus the problem environment (debugging data) 96 $mail{feedbackVerbosity} = 1; 97 98 # Defines the size of the Mail Merge editor window 99 # FIXME: should this be here? it's UI, not mail 100 # FIXME: replace this with the auto-size method that TWiki uses 101 $mail{editor_window_rows} = 15; 102 $mail{editor_window_columns} = 100; 103 104 ################################################################################ 105 # System-wide locations (directories and URLs) 106 ################################################################################ 107 108 # The root directory, set by webwork_root variable in Apache configuration. 109 $webworkDirs{root} = "$webwork_dir"; 110 111 # Location of system-wide data files. 112 $webworkDirs{DATA} = "$webworkDirs{root}/DATA"; 113 114 # Used for temporary storage of uploaded files. 115 $webworkDirs{uploadCache} = "$webworkDirs{DATA}/uploads"; 116 117 # Location of utility programs. 118 $webworkDirs{bin} = "$webworkDirs{root}/bin"; 119 120 # Location of configuration files, templates, snippets, etc. 121 $webworkDirs{conf} = "$webworkDirs{root}/conf"; 122 123 # Location of course directories. 124 $webworkDirs{courses} = "$webwork_courses_dir" || "$webworkDirs{root}/courses"; 125 126 # Contains log files. 127 $webworkDirs{logs} = "$webworkDirs{root}/logs"; 128 129 # Contains non-web-accessible temporary files, such as TeX working directories. 130 $webworkDirs{tmp} = "$webworkDirs{root}/tmp"; 131 132 ##### The following locations are web-accessible. 133 134 # The root URL (usually /webwork2), set by <Location> in Apache configuration. 135 $webworkURLs{root} = "$webwork_url"; 136 137 # Location of system-wide web-accessible files, such as equation images, and 138 # help files. 139 $webworkDirs{htdocs} = "$webwork_htdocs_dir" || "$webworkDirs{root}/htdocs"; 140 $webworkURLs{htdocs} = "$webwork_htdocs_url"; 141 142 # Location of web-accessible temporary files, such as equation images. 143 $webworkDirs{htdocs_temp} = "$webworkDirs{htdocs}/tmp"; 144 $webworkURLs{htdocs_temp} = "$webworkURLs{htdocs}/tmp"; 145 146 # Location of cached equation images. 147 $webworkDirs{equationCache} = "$webworkDirs{htdocs_temp}/equations"; 148 $webworkURLs{equationCache} = "$webworkURLs{htdocs_temp}/equations"; 149 150 # Contains context-sensitive help files. 151 $webworkDirs{local_help} = "$webworkDirs{htdocs}/helpFiles"; 152 $webworkURLs{local_help} = "$webworkURLs{htdocs}/helpFiles"; 153 154 # URL of general WeBWorK documentation. 155 $webworkURLs{docs} = "http://webhost.math.rochester.edu/webworkdocs/docs"; 156 157 # URL of WeBWorK 1.x profLogin.pl script, for access to old professor pages. 158 # Note that both systems must share a single "courses" directory for this to be 159 # useful. Leave this blank to disable 160 $webworkURLs{oldProf} = "/webwork1/profLogin.pl"; 161 162 # URL of WeBWorK Bugzilla database. 163 $webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/enter_bug.cgi?product=WeBWorK%20mod_perl"; 164 165 # Location of jsMath script, used for the jsMath display mode. 166 $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; 167 168 # Location of ASCIIMathML script, used for the asciimath display mode. 169 $webworkURLs{asciimath} = "$webworkURLs{htdocs}/ASCIIMathML/ASCIIMathML.js"; 170 171 ################################################################################ 172 # Defaults for course-specific locations (directories and URLs) 173 ################################################################################ 174 175 # The root directory of the current course. (The ID of the current course is 176 # available in $courseName.) 177 $courseDirs{root} = "$webworkDirs{courses}/$courseName"; 178 179 # Location of course-specific data files, such as WW1 (GDBM) database files. 180 $courseDirs{DATA} = "$courseDirs{root}/DATA"; 181 182 # Location of authentication data files when using a WW1 (GDBM) database. 183 $courseDirs{auth_DATA} = "$courseDirs{DATA}/.auth"; 184 185 # Location of course HTML files, passed to PG. 186 $courseDirs{html} = "$courseDirs{root}/html"; 187 $courseURLs{html} = "$webwork_courses_url/$courseName"; 188 189 # Location of course image files, passed to PG. 190 $courseDirs{html_images} = "$courseDirs{html}/images"; 191 192 # Location of web-accessible, course-specific temporary files, like static and 193 # dynamically-generated PG graphics. 194 $courseDirs{html_temp} = "$courseDirs{html}/tmp"; 195 $courseURLs{html_temp} = "$courseURLs{html}/tmp"; 196 197 # Location of course-specific logs, like the transaction log. 198 $courseDirs{logs} = "$courseDirs{root}/logs"; 199 200 # Location of scoring files. 201 $courseDirs{scoring} = "$courseDirs{root}/scoring"; 202 203 # Location of PG templates and set definition files. 204 $courseDirs{templates} = "$courseDirs{root}/templates"; 205 206 # Location of course-specific macro files. 207 $courseDirs{macros} = "$courseDirs{templates}/macros"; 208 209 # Location of mail-merge templates. 210 $courseDirs{email} = "$courseDirs{templates}/email"; 211 212 ################################################################################ 213 # System-wide files 214 ################################################################################ 215 216 # Location of this file. 217 $webworkFiles{environment} = "$webworkDirs{conf}/global.conf"; 218 219 # Flat-file database used to protect against MD5 hash collisions. TeX equations 220 # are hashed to determine the name of the image file. There is a tiny chance of 221 # a collision between two TeX strings. This file allows for that. However, this 222 # is slow, so most people chose not to worry about it. Set this to "" if you 223 # don't want to use the equation cache file. 224 $webworkFiles{equationCacheDB} = ""; # "$webworkDirs{DATA}/equationcache"; 225 226 ##### Hardcopy snippets are used in constructing a TeX file for hardcopy output. 227 ##### They should contain TeX code unless otherwise noted. 228 229 # The preamble is the first thing in the TeX file. 230 $webworkFiles{hardcopySnippets}{preamble} = "$webworkDirs{conf}/snippets/hardcopyPreamble.tex"; 231 232 # The setHeader preceeds each set. It is a PG file. 233 $webworkFiles{hardcopySnippets}{setHeader} = "$webworkDirs{conf}/snippets/setHeader.pg"; # hardcopySetHeader.pg", 234 235 # The problem divider goes between problems. 236 $webworkFiles{hardcopySnippets}{problemDivider} = "$webworkDirs{conf}/snippets/hardcopyProblemDivider.tex"; 237 238 # The set footer goes after each set. Is is a PG file. 239 $webworkFiles{hardcopySnippets}{setFooter} = "$webworkDirs{conf}/snippets/hardcopySetFooter.pg"; 240 241 # The set divider goes between sets (in multiset output). 242 $webworkFiles{hardcopySnippets}{setDivider} = "$webworkDirs{conf}/snippets/hardcopySetDivider.tex"; 243 244 # The user divider does between users (in multiuser output). 245 $webworkFiles{hardcopySnippets}{userDivider} = "$webworkDirs{conf}/snippets/hardcopyUserDivider.tex"; 246 247 # The postabmle is the last thing in the TeX file. 248 $webworkFiles{hardcopySnippets}{postamble} = "$webworkDirs{conf}/snippets/hardcopyPostamble.tex"; 249 250 ##### Screen snippets are used when displaying problem sets on the screen. 251 252 # The set header is displayed on the problem set page. It is a PG file. 253 $webworkFiles{screenSnippets}{setHeader} = "$webworkDirs{conf}/snippets/setHeader.pg"; # screenSetHeader.pg" 254 255 ################################################################################ 256 # Course-specific files 257 ################################################################################ 258 259 # The course configuration file. 260 $courseFiles{environment} = "$courseDirs{root}/course.conf"; 261 262 # File contents are displayed after login, on the problem sets page. Path given 263 # here is relative to the templates directory. 264 $courseFiles{course_info} = "course_info.txt"; 265 266 # File contents are displayed on the login page. Path given here is relative to 267 # the templates directory. 268 $courseFiles{login_info} = "login_info.txt"; 269 270 # Additional library buttons can be added to the Library Browser (SetMaker.pm) 271 # by adding the libraries you want to the following line. For each key=>value 272 # in the list, if a directory (or link to a directory) with name 'key' appears 273 # in the templates directory, then a button with name 'value' will be placed at 274 # the top of the problem browser. (No button will appear if there is no 275 # directory or link with the given name in the templates directory.) For 276 # example, 277 # 278 # $courseFiles{problibs} = {rochester => "Rochester", asu => "ASU"}; 279 # 280 # would add two buttons, one for the Rochester library and one for the ASU 281 # library, provided templates/rochester and templates/asu exists. 282 # 283 $courseFiles{problibs} = {}; 284 285 ################################################################################ 286 # Database options 287 ################################################################################ 288 289 # Several database are defined in the file conf/database.conf and stored in the 290 # hash %dbLayouts. 291 include "conf/database.conf"; 292 293 # Select the default database layout. This can be overridden in the course.conf 294 # file of a particular course. If you choose "gdbm", WeBWorK will be able to 295 # use courses from WeBWorK 1 without first adding course.conf files to them. 296 # However, the recommended database layout for new courses is "sql_single". This 297 # can be set when creating a course. 298 $dbLayoutName = "sql_single"; # or "gdbm" or "sql" 299 300 # This sets the symbol "dbLayout" as an alias for the selected database layout. 301 *dbLayout = $dbLayouts{$dbLayoutName}; 302 303 ################################################################################ 304 # Problem library options 305 ################################################################################ 306 307 # The directory containing the problem library files. Set to "" if no problem 308 # library is installed. 309 $problemLibrary{root} = ""; 310 311 # The name of the SQL database containing problem metadata 312 $problemLibrary{sourceSQL} = "ProblemLibrary"; 313 314 # The user name to use when connecting to the problem library database 315 $problemLibrary{userSQL} = "webworkRead"; 316 317 # The password to use when connecting to the problem library database 318 $problemLibrary{passwordSQL} = ""; 319 320 ################################################################################ 321 # Logs 322 ################################################################################ 323 324 # FIXME: take logs out of %webworkFiles/%courseFiles and give them their own 325 # top-level hash. 326 327 # Logs data about how long it takes to process problems. (Do not confuse this 328 # with the /other/ timing log which can be set by WeBWorK::Timing and is used 329 # for benchmarking system performance in general. At some point, this timing 330 # mechanism will be deprecated in favor of the WeBWorK::Timing mechanism.) 331 $webworkFiles{logs}{timing} = "$webworkDirs{logs}/timing.log"; 332 333 # The transaction log contains data from each recorded answer submission. This 334 # is useful if the database becomes corrupted. 335 $webworkFiles{logs}{transaction} = "$courseDirs{logs}/transaction.log"; 336 337 # The answer log stores a history of all users' submitted answers. 338 $courseFiles{logs}{answer_log} = "$courseDirs{logs}/answer_log"; 339 340 ################################################################################ 341 # More paths to external programs 342 ################################################################################ 343 344 # These image conversion utilities are included in the WeBWorK distribution. 345 $externalPrograms{gif2eps} = "$webworkDirs{bin}/gif2eps"; 346 $externalPrograms{png2eps} = "$webworkDirs{bin}/png2eps"; 347 $externalPrograms{gif2png} = "$webworkDirs{bin}/gif2png"; 348 349 ################################################################################ 350 # Site defaults (FIXME: what other things could be "site defaults"?) 351 ################################################################################ 352 353 # Status strings -- lists valid status values and their names. If your site uses 354 # additional values, add them here. 355 $siteDefaults{status} = { 356 A => "Audit", 357 audit => "Audit", 358 D => "Drop", 359 drop => "Drop", 360 withdraw => "Drop", 361 C => "Enrolled", 362 current => "Enrolled", 363 enrolled => "Enrolled", 364 }; 365 366 ################################################################################ 367 # Frontend options 368 ################################################################################ 369 370 %templates = ( 371 system => "$webworkDirs{conf}/templates/ur.template", 372 ); 373 374 ################################################################################ 375 # Authorization system 376 ################################################################################ 377 378 # This lets you specify a minimum permission level needed to perform certain 379 # actions. In the current system, >=10 will allow a professor to perform the 380 # action, >=5 will allow a TA to, and >=0 will allow a student to perform an 381 # action (almost never what you want). 382 383 my $student = 0; 384 my $ta = 5; 385 my $professor = 10; 386 my $nobody = undef; 387 388 %permissionLevels = ( 389 report_bugs => $student, 390 391 view_multiple_sets => $ta, 392 view_unopened_sets => $ta, 393 view_unpublished_sets => $ta, 394 view_answers => $ta, 395 396 become_student => $professor, 397 access_instructor_tools => $ta, 398 score_sets => $professor, 399 send_mail => $professor, 400 401 create_and_delete_problem_sets => $professor, 402 assign_problem_sets => $professor, 403 modify_problem_sets => $professor, 404 modify_student_data => $professor, 405 406 modify_classlist_files => $professor, 407 modify_set_def_files => $professor, 408 modify_scoring_files => $professor, 409 modify_problem_template_files => $professor, 410 411 create_and_delete_courses => $professor, 412 fix_course_databases => $professor, 413 414 ##### Behavior of the interactive problem processor ##### 415 416 show_correct_answers_before_answer_date => $ta, 417 show_solutions_before_answer_date => $ta, 418 avoid_recording_answers => $ta, 419 420 check_answers_before_open_date => $ta, 421 check_answers_after_open_date_with_attempts => $ta, 422 check_answers_after_open_date_without_attempts => $student, 423 check_answers_after_due_date => $student, 424 check_answers_after_answer_date => $student, 425 426 record_answers_when_acting_as_student => $nobody, 427 428 # "record_answers_when_acting_as_student" takes precedence 429 # over the following for professors acting as students: 430 record_answers_before_open_date => $nobody, 431 record_answers_after_open_date_with_attempts => $student, 432 record_answers_after_open_date_without_attempts => $nobody, 433 record_answers_after_due_date => $nobody, 434 record_answers_after_answer_date => $nobody, 435 ); 436 437 ################################################################################ 438 # Session options 439 ################################################################################ 440 441 # $sessionKeyTimeout defines seconds of inactivity before a key expires 442 $sessionKeyTimeout = 60*30; 443 444 # $sessionKeyLength defines the length (in characters) of the session key 445 $sessionKeyLength = 40; 446 447 # @sessionKeyChars lists the legal session key characters 448 @sessionKeyChars = ('A'..'Z', 'a'..'z', '0'..'9', '.', '^', '/', '!', '*'); 449 450 # Practice users are users who's names start with $practiceUser 451 # (you can comment this out to remove practice user support) 452 $practiceUserPrefix = "practice"; 453 454 # There is a practice user who can be logged in multiple times. He's 455 # commented out by default, though, so you don't hurt yourself. It is 456 # kindof a backdoor to the practice user system, since he doesn't have a 457 # password. Come to think of it, why do we even have this?! 458 #$debugPracticeUser = "practice666"; 459 460 ################################################################################ 461 # PG subsystem options 462 ################################################################################ 463 464 # List of enabled display modes. Comment out any modes you don't wish to make 465 # available for use. 466 $pg{displayModes} = [ 467 "plainText", # display raw TeX for math expressions 468 "formattedText", # format math expressions using TtH 469 "images", # display math expressions as images generated by dvipng 470 "jsMath", # render TeX math expressions on the client side using jsMath 471 "asciimath", # render TeX math expressions on the client side using ASCIIMathML 472 ]; 473 474 #### Default settings for the PG translator 475 476 # Default display mode. Should be listed above. 477 $pg{options}{displayMode} = "images"; 478 479 # The default grader to use, if a problem doesn't specify. 480 $pg{options}{grader} = "avg_problem_grader"; 481 482 # Fill in answer blanks with the student's last answer by default? 483 $pg{options}{showOldAnswers} = 1; 484 485 # Show correct answers (when allowed) by default? 486 $pg{options}{showCorrectAnswers} = 0; 487 488 # Show hints (when allowed) by default? 489 $pg{options}{showHints} = 0; 490 491 # Show solutions (when allowed) by default? 492 $pg{options}{showSolutions} = 0; 493 494 # Catch translation warnings internally by default? (We no longer need to do 495 # this, since there is a global warnings handler. So this should be off.) 496 $pg{options}{catchWarnings} = 0; 497 498 ##### Currently-selected renderer 499 500 # Only the local renderer is supported in this version. 501 $pg{renderer} = "WeBWorK::PG::Local"; 502 503 # The remote renderer connects to an XML-RPC PG rendering server. 504 #$pg{renderer} = "WeBWorK::PG::Remote"' 505 506 ##### Renderer-dependent options 507 508 # The remote renderer has one option: 509 $pg{renderers}{"WeBWorK::PG::Remote"} = { 510 # The "proxy" server to connect to for remote rendering. 511 proxy => "http://localhost:21000/RenderD", 512 }; 513 514 ##### Settings for various display modes 515 516 # "images" mode has several settings: 517 $pg{displayModeOptions}{images} = { 518 # Determines the method used to align images in output. Can be 519 # "baseline", "absmiddle", or "mysql". 520 dvipng_align => 'baseline', 521 522 # If we choose mysql, we need information on connecting to the 523 # database. Whatever you use here, you have to create the database 524 # and grant read/write priveleges to the user listed here. To create 525 # the database in mysql, as root use: 526 # 527 # CREATE DATABASE DvipngDepths; 528 # USE DvipngDepths; 529 # CREATE TABLE depths (md5 CHAR(33) NOT NULL, depth SMALLINT, PRIMARY KEY (md5)); 530 # GRANT ALL ON DvipngDepths.* TO webworkWrite; 531 # 532 # In the last statement, "webworkWrite" should match the user below. 533 dvipng_depth_db => { 534 dbsource => 'dbi:mysql:DvipngDepths', 535 user => $dbLayouts{sql}->{password}->{params}->{usernameRW}, 536 passwd => $dbLayouts{sql}->{password}->{params}->{passwordRW}, 537 }, 538 }; 539 540 ##### Directories used by PG 541 542 # The root of the PG directory tree (from pg_root in Apache config). 543 $pg{directories}{root} = "$pg_dir"; 544 $pg{directories}{lib} = "$pg{directories}{root}/lib"; 545 $pg{directories}{macros} = "$pg{directories}{root}/macros"; 546 547 ##### "Special" PG environment variables. (Stuff that doesn't fit in anywhere else.) 548 549 # Users for whom to print the file name of the PG file being processed. 550 $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} = [ "professor", ]; 551 552 # Locations of CAPA resources. (Only necessary if you need to use converted CAPA 553 # problems.) 554 $pg{specialPGEnvironmentVars}{CAPA_Tools} = "$courseDirs{macros}/CAPA_Tools/", 555 $pg{specialPGEnvironmentVars}{CAPA_MCTools} = "$courseDirs{macros}/CAPA_MCTools/", 556 $pg{specialPGEnvironmentVars}{CAPA_GraphicsDirectory} = "$courseDirs{html}/CAPA_Graphics/", 557 $pg{specialPGEnvironmentVars}{CAPA_Graphics_URL} = "$courseURLs{html}/CAPA_Graphics/", 558 559 # Size in pixels of dynamically-generated images, i.e. graphs. 560 $pg{specialPGEnvironmentVars}{onTheFlyImageSize} = 400, 561 562 ##### PG modules to load 563 564 # The first item of each list is the module to load. The remaining items are 565 # additional packages to import. 566 567 ${pg}{modules} = [ 568 [qw(DynaLoader)], 569 [qw(Exporter)], 570 [qw(GD)], 571 572 [qw(AlgParser AlgParserWithImplicitExpand Expr ExprWithImplicitExpand)], 573 [qw(AnswerHash AnswerEvaluator)], 574 [qw(WWPlot)], # required by Circle (and others) 575 [qw(Circle)], 576 [qw(Complex)], 577 [qw(Complex1)], 578 [qw(Distributions)], 579 [qw(Fraction)], 580 [qw(Fun)], 581 [qw(Hermite)], 582 [qw(Label)], 583 [qw(List)], 584 [qw(Match)], 585 [qw(MatrixReal1)], # required by Matrix 586 [qw(Matrix)], 587 [qw(Multiple)], 588 [qw(PGrandom)], 589 [qw(Regression)], 590 [qw(Select)], 591 [qw(Units)], 592 [qw(VectorField)], 593 [qw(Parser Value)], 594 ]; 595 596 ##### Answer evaluatior defaults 597 598 $pg{ansEvalDefaults} = { 599 functAbsTolDefault => .001, 600 functLLimitDefault => .0000001, 601 functMaxConstantOfIntegration => 1E8, 602 functNumOfPoints => 3, 603 functRelPercentTolDefault => .1, 604 functULimitDefault => .9999999, 605 functVarDefault => "x", 606 functZeroLevelDefault => 1E-14, 607 functZeroLevelTolDefault => 1E-12, 608 numAbsTolDefault => .001, 609 numFormatDefault => "", 610 numRelPercentTolDefault => .1, 611 numZeroLevelDefault => 1E-14, 612 numZeroLevelTolDefault => 1E-12, 613 useBaseTenLog => 0, 614 defaultDisplayMatrixStyle => "[s]", 615 }; 616 617 ################################################################################ 618 # Compatibility 619 ################################################################################ 620 621 # Define the old names for the various "root" variables. 622 $webworkRoot = $webworkDirs{root}; 623 $webworkURLRoot = $webworkURLs{root}; 624 $pgRoot = $pg{directories}{root};
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |