home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5598 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.6 KB  |  43 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!ieunet!tcdcs!maths.tcd.ie!longvalley!cjmchale
  3. From: cjmchale@dsg.cs.tcd.ie (Ciaran McHale)
  4. Subject: EPS files inside procedures or loops
  5. Message-ID: <1992Nov18.210823.8944@dsg.cs.tcd.ie>
  6. Organization: DSG, Dept. of Computer Science, Trinity College Dublin
  7. Date: Wed, 18 Nov 1992 21:08:23 GMT
  8. Lines: 33
  9.  
  10.  
  11. If I want something (e.g., a logo) to appear on each page of a document
  12. then I could either write the code once for each page, or write a
  13. procedure (which goes into the document's prolog) which does the
  14. necessary and then invoke this procedure for every page. One benefit of
  15. this latter solution is a reduction in the size of the PS file.
  16.  
  17. But what if the thing I want to appear on each page is an EPS file? Is
  18. it legal to have code like the following:
  19.  
  20.     /foo
  21.     {
  22.         "some housekeeping before including EPS file"
  23.         ... included EPS file here
  24.         "some housekeeping after including EPS file"
  25.     } def
  26.  
  27. and then invoke foo multiple times in the document? I looked in the Red
  28. Book (the new one for PS Level 2) at the sections which deal with EPS
  29. files and couldn't find any discussion of this.
  30.  
  31. What I think would prevent the above from working is if the EPS file
  32. contained an image whose data was read directly from "currentfile" (as
  33. is often the case with images).
  34.  
  35. Comments, anyone?
  36.  
  37.  
  38. Ciaran.
  39. -- 
  40. ---- Ciaran McHale (cjmchale@dsg.cs.tcd.ie)
  41. \bi/ Department of Computer Science, Trinity College, Dublin 2, Ireland.
  42.  \/  Telephone: +353-1-7021539 FAX: +353-1-6772204
  43.