First we copy some template files to work with.
In particular, we need the files and directories:
- File: set4.def
- Directory: templates/set4/
- Files: set4/pr1.pg, set4/pr2.pg, set4/pr3.pg, etc.
The easiest way to get these files is to use the script 'makeset.pl':
[user@webwork:templates]$ makeset.pl
makeset.pl <set number> <num problems>
This sets up a .def file and set directory in a Dev directory.
makeset.pl is to be run from a template dir in a Dev directory.
So, for us, we will need to know how many problems are in set4, lets say there are 11 problems.
We then type:
[user@webwork:templates]$ makeset.pl 4 11
Number of Problems: 11
Set Number : 4
Set Directory : set4
Def file: : set4.def
Continue? (y/n)
Type "y" to continue and the template files will be copied over.
If the files already exist, the script will alert you to this fact.