home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / openloo / 3273 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!wupost!sdd.hp.com!elroy.jpl.nasa.gov!poseur.JPL.NASA.GOV!earle
  3. From: earle@poseur.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support)
  4. Subject: Re: pageview
  5. Message-ID: <1992Jul29.093813.16545@elroy.jpl.nasa.gov>
  6. Followup-To: comp.windows.open-look
  7. Keywords: pageview
  8. Sender: news@elroy.jpl.nasa.gov (Usenet)
  9. Nntp-Posting-Host: poseur.jpl.nasa.gov
  10. Organization: Sun Microsystems - JPL on-site Software Support
  11. References: <Bs42Ip.C92@newcastle.ac.uk>
  12. Date: Wed, 29 Jul 1992 09:38:13 GMT
  13. Lines: 44
  14.  
  15. In article <Bs42Ip.C92@newcastle.ac.uk> dph1kg@durham.ac.uk writes:
  16. >Why is pageview so rubbish for multipage documents?  Is there a cure?
  17.  
  18. Perhaps more accurately, "Why are some multipage documents so rubbish for
  19. `pageview'?" (-:
  20.  
  21. The OpenWindows 2.0 and 3.0 "pageview" wants documents to follow the accepted
  22. PostScript Language Structuring Conventions, i.e. be a good PostScript
  23. citizen.  This means things like "%%Page:" and "%%Trailer" and "%%Pages:"
  24. comments in the text, so it can find where each page ends and where the next
  25. page begins.
  26.  
  27. Unfortunately, there's a lot of "PostScript" documents out there that don't
  28. follow the rules - they're non-conforming.  In particular, non-recent TeX
  29. DVI -> PostScript converters produced PostScript files without even a hint
  30. of "%%Page:" comments and the like.
  31.  
  32. If you're intrepid, and can figure out where the page breaks are, you can
  33. insert your own "%%Page:" comments and "pageview" will be happy to render
  34. your multi-page documents.
  35.  
  36. But hope is on the horizon:
  37.  
  38. Note that the "pageview" in OpenWindows 3.0.1 addresses this problem in a
  39. "brute force" way; it provides (in the "Properties" sheet) a button you can
  40. click on which is called "Ignore PostScript Structuring Comments".  If you
  41. run into one of these rogue PostScript files, you can bring up the Properties
  42. sheet, check off said box, press the "Apply" button, and "pageview" will
  43. re-render the document (albeit slowly/slower), hopefully correctly.  What it
  44. does if you click that box is to redefine "showpage" within itself, so that it
  45. can brute-force interpret the PostScript without regard for the "%%Page:"
  46. comments.  This method is more accurate but is more compute-intensive, thus
  47. it takes a bit longer to re-render if you use this option.  But (speaking from
  48. vast experience) it's well worth it!
  49.  
  50. The OpenWindows 3.0.1 "pageview" is now playing on a Solaris 2.0 machine near
  51. you ...
  52.  
  53. --
  54.     - Greg Earle
  55.       Sun Microsystems
  56.       JPL on-site Software Support Engineer
  57.       earle@poseur.JPL.NASA.GOV, earle@Sun.COM
  58.  
  59.