Preliminary versions of the WeBWorK problem library is available here. The version people have been using until 7/26/05 is now dubbed version 1. By now everyone should be using version 2, so information on version 1 has been removed.
cvs -d :pserver:anoncvs@cvs.webwork.rochester.edu:/webwork/cvs/asu checkout database_problemsWe recommend putting them someplace list
/opt/ProblemLibrary.
This requires two things: the dvipng binary compiled for your system and preview.sty, a LaTeX style file. They can be downloaded from http://sourceforge.net/projects/preview-latex and http://sourceforge.net/projects/dvipng. Preview.sty is part of preview-latex. Both have configure scripts to ease installation.
If configure for preview-latex fails, you should be able to complete the process as follows.
Start in the main directory created by unpacking preview-latex. Then give the commands
cd latex tex bootstrap.ins tex preview-mk.insThat creates all of the files you need. Next you need to know where the texmf directory is on your system. I will assume it is /usr/share/texmf (since that is where it is on mine). Then as root,
mkdir /usr/share/texmf/tex/latex/preview cp *.sty *.cfg *.def /usr/share/texmf/tex/latex/preview texhashIf texhash is not in root's path, find it and give the command with its full path.
Everything else you need is in the current version of WeBWorK. Just customize values in Global.pm.
Here are a variety of scripts I use in administering our system.
/etc/cron.daily.
/etc/cron.hourly.
log-loads. Run it with one argument, namely the path to
the log file, and it prints only the lines with "high" loads (greater than 2.1
for us).
cnt 5 counts
from 1 to 5. With two arguments, such as cnt 3 7, it counts
from 3 to 7. I use it in shell loops. For example, to make 100 copies
of a skeleton problem file for someone called p1.pg,
p2.pg, etc., I use
for j in `cnt 100` ; do cp skeleton.pg p${j}.pg ; done
Then, I make a set definition file, build the set, and the person has
a big work area for writing problems.
getfilename setManyProblems.def 37.
In giving the name of the problem set, the initial "set" and
the ending ".def" are optional.
allShowActive * to get an overview of system activity.
checktrees path/to/first path/to/second.
It will ignore set definition files, emacs backup files, and backup files
of problems created by WeBWorK. It reports when files in the two trees
differ, telling you which one is the newer one.
This has been superceeded by the problem browser built into WeBWorK 2, and the problem library above.
Anyone is welcome to read our local documentation for WeBWorK. Keep in mind that it is tuned to local needs in a few ways. It assumes one has local customizations discussed below, and it focuses on the things of particular interest to our effort.
This has been removed because it is part of the most recent release of WeBWorK.
The work represented here was produced with partial support from
a grant by the National Science Foundation (DUE-0125369).