Forum archive 2000-2006

Jun Wang - On-the-fly graphs messed up hard copy

Jun Wang - On-the-fly graphs messed up hard copy

by Arnold Pizer -
Number of replies: 0
inactiveTopicOn-the-fly graphs messed up hard copy topic started 10/9/2002; 4:17:52 AM
last post 10/9/2002; 8:12:44 AM
userJun Wang - On-the-fly graphs messed up hard copy  blueArrow
10/9/2002; 4:17:52 AM (reads: 1180, responses: 3)
When we tried "get_a_hard_copy" for any problem set that includes on-the-fly graphics problems, an error would occur in the page containing the graphics. It happens no matter what format we chose (pdf, dvi, ps). It appeared like that the enlarged graphs somehow also get in the hard copy and messed up that particular page. The pages do not contain the graphic problems can be viewed or printed without any problem. Also, when viewing the individual problems, there were no problem. Did this happen to anybody before?
I used the MAATutorial templates in coding those on-the-fly problems and I remember that there was no such problem when getting a hardcopy of the MAAtutorialSet.

Jun

<| Post or View Comments |>


userArnold K. Pizer - Re: On-the-fly graphs messed up hard copy  blueArrow
10/9/2002; 4:35:46 AM (reads: 1437, responses: 1)
Hi Jun,

Try this. Edit the two files .../scripts/png2eps and .../scripts/gif2eps changing the line

cat $1 | $PNGTOPNM | $PPMTOPGM | $PNMTOPS -noturn 2>/dev/null > $2

to

cat $1 | $PNGTOPNM | $PPMTOPGM | $PNMTOPS -noturn -nosetpage 2>/dev/null > $2

That is add the -nosetpage parameter. For more info on this, seach for "nosetpage". This is what we now use in WeBWorK 1.8 which will be anounced publically in a few days.

Arnie

<| Post or View Comments |>


userRichard M. Woodward - Re: On-the-fly graphs messed up hard copy  blueArrow
10/9/2002; 8:02:34 AM (reads: 1682, responses: 0)
Hello, WebWorkers.

Just an observation from someone who's "been there and done that." My experiences with the "-nosetpage" option are: 1) It is an illegal option under Red Hat Linux 7.2 2) It is legal under Red Hat Linux 7.3

In summary, watch out if you're using RHL 7.2

Regards Richard

<| Post or View Comments |>


userJun Wang - Re: On-the-fly graphs messed up hard copy  blueArrow
10/9/2002; 8:12:44 AM (reads: 1446, responses: 0)
Thanks, Arnie and Rich. We are using Red Hat Linux 7.3 and that has fixed the problem. We look forward to the release of WeBWorK 1.8

Jun

<| Post or View Comments |>