From: Sam H. <sh...@ma...> - 2005-08-19 20:42:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 18, 2005, at 14:45, Davide P.Cervone wrote: >> On Aug 17, 2005, at 15:33, John Jones wrote: >> >> >> >>> Personally, I liked the way the boxes looked now. To build this >>> in as an option, my suggestion is to add two variables to >>> global.conf, something like problemHtmlStart and problemHtmlEnd. >>> They would be inserted by beginproblem() and ENDDOCUMENT() when >>> displaying a HTML related mode. >>> >>> >> >> I'm hesitant to add more wiring between global.conf and the >> problem environment, especially if it requires adding to >> defineProblemEnvir in WeBWorK::PG. Could this be added to >> specialPGEnvironmentVars, since that entire hash gets passed >> through to the problem environment? >> >> > > I would be pleased to see a method of including these boxes in > general (right now, they are actually part of the problem file, > which is a sub-optimal solution from way back when I first started > using WW and didn't want to modify the system code any more than > necessary). > > How about having something like the hardcopySnippets and > screenSnippets hashes but for htmlSnippets, and make it available > to the problems in the environment hash? There are several other > things that I would like to have available, but customizable, like > the wording of common instructions ("Use 'inf' for infinity and '- > inf' for negative infinity", or "Enter 'NONE' if there are no > solutions", and so on) that can be inserted into problems so that > they all have consistent wording. > > While this is extra wiring, it is only one extra piece, and any > additional items like this can piggyback off it. Just a suggestion. > Sounds like a good idea to me. I've added this as a feature request in the bugzilla: http://bugs.webwork.rochester.edu/show_bug.cgi?id=817 -sam - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDBkOo14CQX+2WvVgRAmnEAKDTIhIEu7eVsc8Dk/6DbFe0pQPNvgCgl9+C Nlw2BOFbOzatFCyiEztEQ3I= =tq9O - -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDBkPF14CQX+2WvVgRAgyIAKCM9nYDM07s9EWNa4pnVYDu+d2EOQCfTGQP GFO/h+ItXn/rWHgdP98fSD0= =5DrS -----END PGP SIGNATURE----- |