home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3179 < prev    next >
Encoding:
Internet Message Format  |  1991-04-10  |  1.6 KB

  1. From: ajcd@cs.edinburgh.ac.uk (Angus Duggan)
  2. Newsgroups: alt.sources
  3. Subject: Re: PostScript utilities
  4. Message-ID: <8633@skye.cs.ed.ac.uk>
  5. Date: 9 Apr 91 17:00:22 GMT
  6.  
  7. In article <8545@skye.cs.ed.ac.uk>, ajcd@cs.edinburgh.ac.uk (me) writes:
  8. > People seem to have been asking for programs to perform page manipulation for
  9. > PostScript recently; here's my set of utilities for selecting and rearranging
  10. > pages from PostScript documents.
  11. > #! /bin/sh
  12. ...
  13.  
  14. This always happens to me; post something, then instantly start finding stupid
  15. bugs. I copied some stuff from the red book incorrectly, here's a patch:
  16.  
  17. *** pstops.c.~1~    Wed Feb 20 14:06:57 1991
  18. --- pstops.c    Tue Apr  9 16:57:44 1991
  19. ***************
  20. *** 296,302 ****
  21.      }
  22.      writestring("/initgraphics{initmatrix newpath initclip 1 setlinewidth\n");
  23.      writestring(" 0 setlinecap 0 setlinejoin []0 setdash 0 setgray\n");
  24. !    writestring(" 0 setmiterlimit}bind def\n");
  25.      if (nobinding) /* desperation measures */
  26.         writestring("/bind{}def\n");
  27.      writestring("%%EndProcSet\n");
  28. --- 296,302 ----
  29.      }
  30.      writestring("/initgraphics{initmatrix newpath initclip 1 setlinewidth\n");
  31.      writestring(" 0 setlinecap 0 setlinejoin []0 setdash 0 setgray\n");
  32. !    writestring(" 10 setmiterlimit}bind def\n");
  33.      if (nobinding) /* desperation measures */
  34.         writestring("/bind{}def\n");
  35.      writestring("%%EndProcSet\n");
  36.  
  37. a.
  38. -- 
  39. Angus Duggan, Department of Computer Science,    | I'm pink, therefore I'm Spam.
  40. University of Edinburgh, JCMB,            | JANET:  ajcd@uk.ac.ed.lfcs
  41. The King's Buildings, Mayfield Road,        | VOICE:  (UK) 031 650 5126
  42. Edinburgh, EH9 3JZ, Scotland.    | OR:  ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
  43.