[system] / branches / rel-2-4-patches / webwork2 / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /branches/rel-2-4-patches/webwork2/conf/global.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3545 Revision 3546
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.126 2005/07/31 17:24:50 gage Exp $ 5# $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.127 2005/08/21 00:03:38 dpvc 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.
56$externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape"; # allows pdflatex to handle .eps files 56$externalPrograms{pdflatex} = "/usr/bin/pdflatex --shell-escape"; # allows pdflatex to handle .eps files
57$externalPrograms{dvipng} = "/usr/bin/dvipng"; 57$externalPrograms{dvipng} = "/usr/bin/dvipng";
58$externalPrograms{tth} = "/usr/bin/tth"; 58$externalPrograms{tth} = "/usr/bin/tth";
59 59
60$externalPrograms{tar} = "/usr/bin/tar"; 60$externalPrograms{tar} = "/usr/bin/tar";
61
62# Basic image manipulation utilities
63# Most sites only need to configure the first line
64$externalPrograms{netpbm} = "/usr/bin/"; # Really a prefix, rather than a program
65$externalPrograms{giftopnm} = $externalPrograms{netpbm}.'giftopnm';
66$externalPrograms{ppmtopgm} = $externalPrograms{netpbm}.'ppmtopgm';
67$externalPrograms{pnmtops} = $externalPrograms{netpbm}.'pnmtops';
68$externalPrograms{pnmtopng} = $externalPrograms{netpbm}.'pnmtopng';
69$externalPrograms{pngtopnm} = $externalPrograms{netpbm}.'pngtopnm';
70
71# The following lines are the external scripts gif2eps, etc.
72# The source file is input with cat, and the output is redirected to
73# the desired file.
74
75$externalPrograms{gif2eps} = "$externalPrograms{giftopnm} | $externalPrograms{ppmtopgm}| $externalPrograms{pnmtops} -noturn 2>/dev/null";
76$externalPrograms{png2eps} = "$externalPrograms{pngtopnm} | $externalPrograms{ppmtopgm} | $externalPrograms{pnmtops} -noturn 2>/dev/null";
77$externalPrograms{gif2png} = "$externalPrograms{giftopnm} | $externalPrograms{pnmtopng}";
78
79# Note on these conversions:
80# we used to use `pnmdepth 1' instead of ppmtopgm as it creates a
81# monochrome image (1 bit) rather than a greyscale image (8 bits).
82# However, this was causing improper display of some sort in PDFs.
83
61 84
62################################################################################ 85################################################################################
63# Mail settings 86# Mail settings
64################################################################################ 87################################################################################
65 88
385# The answer log stores a history of all users' submitted answers. 408# The answer log stores a history of all users' submitted answers.
386$courseFiles{logs}{answer_log} = "$courseDirs{logs}/answer_log"; 409$courseFiles{logs}{answer_log} = "$courseDirs{logs}/answer_log";
387 410
388# Log logins. 411# Log logins.
389$courseFiles{logs}{login_log} = "$courseDirs{logs}/login.log"; 412$courseFiles{logs}{login_log} = "$courseDirs{logs}/login.log";
390
391################################################################################
392# More paths to external programs
393################################################################################
394
395# These image conversion utilities are included in the WeBWorK distribution.
396$externalPrograms{gif2eps} = "$webworkDirs{bin}/gif2eps";
397$externalPrograms{png2eps} = "$webworkDirs{bin}/png2eps";
398$externalPrograms{gif2png} = "$webworkDirs{bin}/gif2png";
399 413
400################################################################################ 414################################################################################
401# Site defaults (FIXME: what other things could be "site defaults"?) 415# Site defaults (FIXME: what other things could be "site defaults"?)
402################################################################################ 416################################################################################
403 417

Legend:
Removed from v.3545  
changed lines
  Added in v.3546

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9