Skip to content

Commit

Permalink
Add the TikZImage package to the list of loaded pg modules and add the
Browse files Browse the repository at this point in the history
external convert program.
  • Loading branch information
drgrice1 committed Oct 6, 2019
1 parent 226cbf5 commit 66b0aae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ ${pg}{modules} = [
[qw(GD)],
[qw(AlgParser AlgParserWithImplicitExpand Expr ExprWithImplicitExpand utf8)],
[qw(AnswerHash AnswerEvaluator)],
[qw(TikZImage)],
[qw(WWPlot)], # required by Circle (and others)
[qw(Circle)],
[qw(Class::Accessor)],
Expand Down
7 changes: 6 additions & 1 deletion conf/site.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ $externalPrograms{pdflatex} ="/usr/bin/pdflatex --shell-escape";

$externalPrograms{dvipng} ="/usr/bin/dvipng";

# In order to use imagemagick convert you need to change the rights for PDF files from
# "none" to "read" in the policy file /etc/ImageMagick-6/policy.xml. This has possible
# security implications for the server.
$externalPrograms{convert} ="/usr/bin/convert";

####################################################
# NetPBM - basic image manipulation utilities
# Most sites only need to configure $netpbm_prefix.
Expand All @@ -128,7 +133,7 @@ $externalPrograms{pngtopnm} = "$netpbm_prefix/pngtopnm";
####################################################
# set timeout time (-t 40 sec) to be less than timeout for problem (usually 60 seconds)
$externalPrograms{checkurl} = "/usr/bin/lwp-request -d -t 40 -mHEAD "; # or "/usr/local/bin/w3c -head "
$externalPrograms{curlCommand} = "/usr/bin/curl";
$externalPrograms{curl} = "/usr/bin/curl";

####################################################
# image conversions utiltiies
Expand Down

0 comments on commit 66b0aae

Please sign in to comment.