There is a section of
global.conf
where you can specify additional
locations to search for macro files. Chances are the
Danforth.pl
file is in your
.../dartmouth_problib/Stewart
directory (as we have it below) but it can also be found in
.../ProblemLibrary/Dartmouth
(or perhaps you call it
.../database_problib/Dartmouth
. In any case add the full path to the directory containing the macro file
to the library below.
If you are careful you can also enable those macro files on a
course by course basis using the
course.conf
files, but it is probably not worth the effort.
Section from
global.conf
#
# The macro file search path. Each directory in this list is seached
# (in this order) by loadMacros() when it looks for a .pl file.
#
$pg{directories}{macrosPath} = [
".", # search the problem file's directory
$courseDirs{macros},
$pg{directories}{macros},
'/ww/webwork/union_problib/macros',
'/ww/webwork/union_problib/parserOrientation',
'/ww/webwork/nau_problib/macros',
'/ww/webwork/dartmouth_problib/Stewart',
'/ww/webwork/dcds_problib/macros',
];