|PDF graph download on RedHat 7.3 PC server||topic started 7/28/2002; 1:38:16 PM
last post 8/18/2002; 11:49:39 AM
|George Jennings - Re: PDF graph download on RedHat 7.3 PC server
8/18/2002; 11:49:39 AM (reads: 2210, responses: 0)
fix for this problem is a subset of the solution that Jason Farmer
described in his 6/30/02 posting. First I reinstalled WebWorK using
Bill Ziemer's Makefile (posted here 8/11/02) to eliminate any mistakes
I may have made. This didn't solve the problem so I made the following
two modifications to the file /usr/local/webwork/system/scripts/gif2eps|
1. Comment out line 10, so that it reads
# are in different locations, do so below:
2. Following Jason Farmer's suggestion, add -nosetpage to the options of pnmtops in line 19. With this change line 19 now reads
cat $1 | $GIFTOPNM | $PPMTOPGM | $PNMTOPS -noturn -nosetpage 2>/dev/null > $2
(all on one line).
This fixed the problem.
www.cs.indiana.edu/docproject/programming/postscript/postscript.html contains a discussion of Encapsulated Postscript that explains why "-nosetpage" should be there.