## WeBWorK Problems

### Dartmouthmacros.pl

by Darwyn Cook -
Number of replies: 3

Many of the problems from the Dartmouth library give us a "No display module found for path" error. All of the problems generating errors include the Dartmouthmacros.pl file (and those problems that are working do not). I did a directory search on our server using find and it could not find this file. So
2) Where should it be installed?

PS We run version 2.3.3 installated through CVS.

### Re: Dartmouthmacros.pl

by Michael Gage -
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',
];