From: John J. <jj...@as...> - 2006-08-21 21:41:45
|
Davide P. Cervone wrote: >Folks: > >Speaking of hardcopy issues, often when I am editing a problem, I'd >like to be able to test its hardcopy output. To do this, I have to >make a test homework set, assign the problem to that, and then get >hardcopy of that set. It would be very convenient to be able to get >hardcopy directly from the problem editor. How hard would that be? > > I had once looked at this for the Library Browser. There was nothing insurmountable to it. The first step looked like it would be to extract the guts of the hardcopy code from Hardcopy.pm to a utility so that it could be called from a variety of modules. >Of course, having just one problem in the (two-column) output usually >makes a bad break in the middle of the problem, so it would probably >be good to output TWO copies of the problem, so you get two side-by- >side unbroken problems for testing purposes. > > I imagine that it would not be too hard to add a flag to the hardcopy function to show two copies of the problem. Maybe it could automatically pick a different seed for the second copy. John |