You raise a good point. Gavin has explained exactly what is happening.
I have changed things so that in the new version of WeBWorK you will be
able to write
refreshLatex2HTML = 1; (in analogy with showPartialCorrectAnswers = 1;)
in the .pg code for a problem to force L2H to be run every time to
regenerate the HTML page in typeset mode. Since this is a slow process,
you would want to use this sparingly if you have a large class or a
slow server. If you really want to use this now, you can
download from the CVS repository the new versions of Global.pm, PG.pl,
and processProblem8.pl (there are only a few new lines of code and
several more of related comments and documentation).
My suggestion for now would be to add a line to the first part of the
problem telling students that for this problem, they must use
Thanks for the idea. Also, you might want to post an example of your
conditional problem. Others may be interested in this type of problem.
<| Post or View Comments |>