| … | |
… | |
| 61 | $externalPrograms{latex} = "/usr/bin/latex"; |
61 | $externalPrograms{latex} = "/usr/bin/latex"; |
| 62 | $externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape"; |
62 | $externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape"; |
| 63 | $externalPrograms{dvipng} = "/usr/bin/dvipng"; |
63 | $externalPrograms{dvipng} = "/usr/bin/dvipng"; |
| 64 | $externalPrograms{tth} = "/usr/bin/tth"; |
64 | $externalPrograms{tth} = "/usr/bin/tth"; |
| 65 | |
65 | |
|
|
66 | #################################################### |
| 66 | # NetPBM - basic image manipulation utilities |
67 | # NetPBM - basic image manipulation utilities |
| 67 | # Most sites only need to configure $netpbm_prefix. |
68 | # Most sites only need to configure $netpbm_prefix. |
|
|
69 | #################################################### |
| 68 | my $netpbm_prefix = "/usr/bin"; |
70 | my $netpbm_prefix = "/usr/bin"; |
| 69 | $externalPrograms{giftopnm} = "$netpbm_prefix/giftopnm"; |
71 | $externalPrograms{giftopnm} = "$netpbm_prefix/giftopnm"; |
| 70 | $externalPrograms{ppmtopgm} = "$netpbm_prefix/ppmtopgm"; |
72 | $externalPrograms{ppmtopgm} = "$netpbm_prefix/ppmtopgm"; |
| 71 | $externalPrograms{pnmtops} = "$netpbm_prefix/pnmtops"; |
73 | $externalPrograms{pnmtops} = "$netpbm_prefix/pnmtops"; |
| 72 | $externalPrograms{pnmtopng} = "$netpbm_prefix/pnmtopng"; |
74 | $externalPrograms{pnmtopng} = "$netpbm_prefix/pnmtopng"; |
| … | |
… | |
| 557 | # |
559 | # |
| 558 | # To get a list of valid timezone "links" (deprecated names), run: |
560 | # To get a list of valid timezone "links" (deprecated names), run: |
| 559 | # |
561 | # |
| 560 | # perl -MDateTime::TimeZone -e 'print join "\n", DateTime::TimeZone::links' |
562 | # perl -MDateTime::TimeZone -e 'print join "\n", DateTime::TimeZone::links' |
| 561 | # |
563 | # |
| 562 | # If left blank, the system timezone is supposed to be used. This is usually what you |
564 | # If left blank, the system timezone will be used. This is usually what you |
| 563 | # want. However, people have had trouble with this so it's best to set your timezone here. |
|
|
| 564 | # You might want to set this if your server is NOT in the same timezone as |
565 | # want. You might want to set this if your server is NOT in the same timezone as |
| 565 | # your school. If just a few courses are in a different timezone, set this in |
566 | # your school. If just a few courses are in a different timezone, set this in |
| 566 | # course.conf for the affected courses instead. |
567 | # course.conf for the affected courses instead. |
| 567 | # |
568 | # |
| 568 | $siteDefaults{timezone} = "America/New_York"; |
569 | $siteDefaults{timezone} = "America/New_York"; |
| 569 | |
570 | |
| … | |
… | |
| 776 | ################################################################################ |
777 | ################################################################################ |
| 777 | |
778 | |
| 778 | # List of enabled display modes. Comment out any modes you don't wish to make |
779 | # List of enabled display modes. Comment out any modes you don't wish to make |
| 779 | # available for use. |
780 | # available for use. |
| 780 | $pg{displayModes} = [ |
781 | $pg{displayModes} = [ |
| 781 | "plainText", # display raw TeX for math expressions |
782 | # "plainText", # display raw TeX for math expressions |
| 782 | "formattedText", # format math expressions using TtH |
783 | "formattedText", # format math expressions using TtH |
| 783 | "images", # display math expressions as images generated by dvipng |
784 | "images", # display math expressions as images generated by dvipng |
| 784 | "jsMath", # render TeX math expressions on the client side using jsMath |
785 | "jsMath", # render TeX math expressions on the client side using jsMath |
| 785 | "asciimath", # render TeX math expressions on the client side using ASCIIMathML |
786 | # "asciimath", # render TeX math expressions on the client side using ASCIIMathML |
| 786 | "LaTeXMathML", # render TeX math expressions on the client side using LaTeXMathML |
787 | "LaTeXMathML", # render TeX math expressions on the client side using LaTeXMathML |
| 787 | ]; |
788 | ]; |
| 788 | |
789 | |
| 789 | #### Default settings for the PG translator |
790 | #### Default settings for the PG translator |
| 790 | |
791 | |
| 791 | # Default display mode. Should be listed above. |
792 | # Default display mode. Should be listed above. |
| 792 | $pg{options}{displayMode} = "images"; |
793 | $pg{options}{displayMode} = "images"; |
|
|
794 | #$pg{options}{displayMode} = "jsMath"; |
| 793 | |
795 | |
| 794 | # The default grader to use, if a problem doesn't specify. |
796 | # The default grader to use, if a problem doesn't specify. |
| 795 | $pg{options}{grader} = "avg_problem_grader"; |
797 | $pg{options}{grader} = "avg_problem_grader"; |
| 796 | |
798 | |
| 797 | # Fill in answer blanks with the student's last answer by default? |
799 | # Fill in answer blanks with the student's last answer by default? |
| … | |
… | |
| 946 | [qw(Distributions)], |
948 | [qw(Distributions)], |
| 947 | [qw(Fraction)], |
949 | [qw(Fraction)], |
| 948 | [qw(Fun)], |
950 | [qw(Fun)], |
| 949 | [qw(Hermite)], |
951 | [qw(Hermite)], |
| 950 | [qw(Label)], |
952 | [qw(Label)], |
| 951 | [qw(List)], |
953 | [qw(ChoiceList)], |
| 952 | [qw(Match)], |
954 | [qw(Match)], |
| 953 | [qw(MatrixReal1)], # required by Matrix |
955 | [qw(MatrixReal1)], # required by Matrix |
| 954 | [qw(Matrix)], |
956 | [qw(Matrix)], |
| 955 | [qw(Multiple)], |
957 | [qw(Multiple)], |
| 956 | [qw(PGrandom)], |
958 | [qw(PGrandom)], |
| … | |
… | |
| 961 | [qw(Parser Value)], |
963 | [qw(Parser Value)], |
| 962 | [qw(Parser::Legacy)], |
964 | [qw(Parser::Legacy)], |
| 963 | # [qw(SaveFile)], |
965 | # [qw(SaveFile)], |
| 964 | # [qw(Chromatic)], # for Northern Arizona graph problems |
966 | # [qw(Chromatic)], # for Northern Arizona graph problems |
| 965 | # # -- follow instructions at libraries/nau_problib/lib/README to install |
967 | # # -- follow instructions at libraries/nau_problib/lib/README to install |
| 966 | [qw(Applet FlashApplet JavaApplet)], |
968 | [qw(Applet FlashApplet JavaApplet CanvasApplet)], |
| 967 | [qw(PGcore PGalias PGresource PGloadfiles PGanswergroup PGresponsegroup Tie::IxHash)], |
969 | [qw(PGcore PGalias PGresource PGloadfiles PGanswergroup PGresponsegroup Tie::IxHash)], |
| 968 | ]; |
970 | ]; |
| 969 | |
971 | |
| 970 | ##### Problem creation defaults |
972 | ##### Problem creation defaults |
| 971 | |
973 | |