Hi Lars,
The answer to what I think is your second question is yes. The
set definition files themselves must be in
/usr/local/webwork/templates, however the .pg files
can be in other places. For example, put a link(alias) called library
in /user/local/webwork/templates (the link can point anywhere,
e.g. /usr/local/webwork/rochester_problib) Then the problems listed
in a setdefinition file: setTestRochesterProblems
would have problem entries such as
library/setAlgebra1RealNumbers/srw1_1_21-28.pg , 1
library/setAlgebra5Equations/srw1_5_14.pg, 1
You can build this set and printout a hardcopy to see the problems.
You can also use the same addressing scheme in any set definition file.
If you don't want to use a link, you can actually create a subdirectory
of /usr/local/webwork/templates (call it
/usr/local/webwork/templates/library or
/usr/local/webwork/templates/rochester_problib) and place the problems
there.
The address of the problem in the set definition file is relative
to /usr/local/webwork/templates, but that is the only requirement.
I suspect that even something like
../../rochester_lib/setAlgebra5Equations/srw1_5_14.pg, 1
would work, although I recommend using the link approach instead -- it's less likely to cause mistakes.
As to getting printouts to problems from the rochester problem
database, you might like to look at another view of the problem library
at http://webhost.math.rochester.edu/webworkdocs/ww/listLib?command=setsOnly
If you go to something like
http://webhost.math.rochester.edu/webworkdocs/ww/listLib?command=listSet&set=setAlgebra1RealNumbers
you can select any problems in the set that you wish, and create a PDF
printout of just those problems. Unfortunately, at the moment you can
only obtain a printout of problems that come from a single set. You can't mix problems from different sets.
If it would be useful to have a more flexible method of printing PDF
files for selecting problems, I'm sure that I can arrange it. What I
would like is a description of the user interface that would be
desired. Once that
is in place, the rest should be pretty easy to implement.
--Mike
<| Post or View Comments |>
|