ajcd@cs.ed.ac.uk (Angus Duggan) (05/02/91)
Thanks to all who replied with comments about my PostScript utilities (psselect, psbook, pstops, & psnup). The general concensus is that the statement #include <ctype.h> is required in psutil.h (I compiled on Sun-3 & Sun-4 without this with no trouble, don't know why). Here's another small patch to psnup, I got the page order wrong for 8-up: *** psnup.old Thu Apr 18 20:57:40 1991 --- psnup Thu Apr 18 21:00:16 1991 *************** *** 40,46 **** then offset="(0.5w,0) (0.5w,0.25h) (0.5w,0.5h) (0.5w,0.75h)\ (1w,0) (1w,0.25h) (1w,0.5h) (1w,0.75h)" else offset="(0,0.75h) (0.5w,0.75h) (0,0.5h) (0.5w,0.5h)\ ! (0,0.25h) (0.5w,0.25h) (0,0.25h) (0.5w,0.25h)" fi landscape=`expr 1 - $landscape` ;; 9) scale=@0.3333 --- 40,46 ---- then offset="(0.5w,0) (0.5w,0.25h) (0.5w,0.5h) (0.5w,0.75h)\ (1w,0) (1w,0.25h) (1w,0.5h) (1w,0.75h)" else offset="(0,0.75h) (0.5w,0.75h) (0,0.5h) (0.5w,0.5h)\ ! (0,0.25h) (0.5w,0.25h) (0,0) (0.5w,0)" fi landscape=`expr 1 - $landscape` ;; 9) scale=@0.3333 Also, thanks to Brian Colfer (brianc@labmed.ucsf.edu) for supplying a manual page for psnup. a. -- Angus Duggan, Department of Computer Science, | I'm pink, therefore I'm Spam. University of Edinburgh, JCMB, | JANET: ajcd@uk.ac.ed.lfcs The King's Buildings, Mayfield Road, | VOICE: (UK) 031 650 5126 Edinburgh, EH9 3JZ, Scotland. | OR: ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk