home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / openloo / 4845 < prev    next >
Encoding:
Text File  |  1992-12-16  |  3.8 KB  |  95 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!statsci!scott
  3. From: scott@statsci.com (Scott Blachowicz)
  4. Subject: Re: pageview question
  5. In-Reply-To: lee@sq.sq.com's message of Fri, 11 Dec 92 21:24:03 GMT
  6. Message-ID: <SCOTT.92Dec16093813@arugula.statsci.com>
  7. Sender: usenet@statsci.com (Usenet News Account)
  8. Reply-To: scott@statsci.com
  9. Organization: Statistical Sciences, Inc., Seattle, WA USA
  10. References: <ByqAoE.5DL@egh-qc.uucp> <1992Dec6.055251.1024@sq.sq.com>
  11.     <SCOTT.92Dec9175803@arugula.statsci.com>
  12.     <1992Dec11.212403.3224@sq.sq.com>
  13. Date: Wed, 16 Dec 1992 17:38:13 GMT
  14. Lines: 79
  15.  
  16. >>>>> "lee" == Liam R. E. Quin <lee@sq.sq.com>
  17. >>>>> "me" == Scott Blachowicz <scott@statsci.com>
  18.  
  19.  lee> Watch for EPS files that contain %%Page (they shouldn't!).
  20.  
  21.  me> [By my interpretation of what I've read...] Yes, they can.
  22.  me> So long as there is only one page, then things are SUPPOSED to be OK. 
  23.  me> I have heard of software that claims having %%Page makes it non-EPS, though.
  24.  me> If 'pageview' is such a package, I'd call it broken.
  25.  
  26.  lee> Looking at 
  27.  
  28.  lee> Required Comments
  29.  lee>     %!PS-Adobe-2.0 EPSF-2.0
  30.  lee>     %%BoundingBox: LLx LLy URx URy
  31. I've been looking at 3.0 rules from the 2nd ed red book...
  32.  
  33.  lee> Optional Comments:
  34.  lee>     %%Title: doc_title
  35.  lee>     %%Creator: your name
  36.  lee>     %%CreationDate date_and_time
  37.  lee>     %%EndComments
  38.  
  39.  lee> In addition, the following comments are permitted:
  40.  [ ... ]
  41.  
  42.  lee> In sec. 5.3 we have:
  43.  lee>     The showpage operator is permitted in EPS files.... It is the including
  44.  lee>     document's responsibility to disable  showpage if needed.
  45.  lee>     (there's an example of how to do this)
  46.  
  47. That implies that an EPS file can also be viewed as a printable
  48. "page"...possibly with a prolog and  a "document setup" section. The "document
  49. setup" section is defined as being between the "%%EndProlog" and the first
  50. "%%Page".
  51.  
  52.  lee> One example has
  53.  lee>     %%Pages: 0
  54.  lee> but no %%Page 0 0 comment, ass one would expect.
  55.  
  56.  lee> The comment %%Pages is not specifically permitted, however.
  57. From section G.3.1 of red book 2:
  58.  
  59.        The document structure rules described in Section G.4, "Document
  60.     Structure Rules," must be followed. The following comments delineate the
  61.     structure of the document. If there is a section of a document that
  62.     corresponds to a particular comment, that comment _must_ be used to
  63.     identify that section of the document.
  64.        %!PS-Adobe-3.0
  65.        %%Pages:
  66.        [ ... ]
  67.        %%Page:
  68.        [ ... ]
  69.  
  70. [Followed by a paragraph that I hadn't noticed before...]
  71.        For example, if there are distinct independent pages [note the plural]
  72.     in a document, the "%%Page:" comment must be used at the beginning of each
  73.     page to identify the those pages.
  74. [Then later in section G.4.5...]
  75.     Page Comments
  76.        ... The beginning of a page should be noted by the %%Page: comment.
  77.  
  78.  lee> I think a good general rule is to avoid having %%Page: comments for
  79.  lee> an illustration intended only to be included on a page.
  80.  lee> If nothing else, giving it a separate %%Page comment defeats the purpose
  81.  lee> of the %%Page: comments, since the comment will not start a new page.
  82.  
  83. I think it basically boils down to whether or not one considered the included
  84. file to be a page in its own right when it was created as a separate file. It
  85. seems if you put a 'showpage', at the end, then you are saying that it can be
  86. a separate page. In that case there should be %%Pages: and %%Page: comments.
  87. Either way, the file is a legitimate EPS file, and importing applications
  88. should not complain about the presence of either comment.
  89.  
  90. --
  91. Scott Blachowicz    Ph: 206/283-8802x240      USPS:  Statistical Sciences, Inc
  92.                                                       1700 Westlake Ave N #500
  93. scott@statsci.com / uunet!statsci!scott                Seattle, WA USA   98109
  94. ..or..     Scott.Blachowicz@seaslug.org
  95.