home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!wupost!sdd.hp.com!elroy.jpl.nasa.gov!poseur.JPL.NASA.GOV!earle
- From: earle@poseur.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support)
- Subject: Re: pageview
- Message-ID: <1992Jul29.093813.16545@elroy.jpl.nasa.gov>
- Followup-To: comp.windows.open-look
- Keywords: pageview
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: poseur.jpl.nasa.gov
- Organization: Sun Microsystems - JPL on-site Software Support
- References: <Bs42Ip.C92@newcastle.ac.uk>
- Date: Wed, 29 Jul 1992 09:38:13 GMT
- Lines: 44
-
- In article <Bs42Ip.C92@newcastle.ac.uk> dph1kg@durham.ac.uk writes:
- >Why is pageview so rubbish for multipage documents? Is there a cure?
-
- Perhaps more accurately, "Why are some multipage documents so rubbish for
- `pageview'?" (-:
-
- The OpenWindows 2.0 and 3.0 "pageview" wants documents to follow the accepted
- PostScript Language Structuring Conventions, i.e. be a good PostScript
- citizen. This means things like "%%Page:" and "%%Trailer" and "%%Pages:"
- comments in the text, so it can find where each page ends and where the next
- page begins.
-
- Unfortunately, there's a lot of "PostScript" documents out there that don't
- follow the rules - they're non-conforming. In particular, non-recent TeX
- DVI -> PostScript converters produced PostScript files without even a hint
- of "%%Page:" comments and the like.
-
- If you're intrepid, and can figure out where the page breaks are, you can
- insert your own "%%Page:" comments and "pageview" will be happy to render
- your multi-page documents.
-
- But hope is on the horizon:
-
- Note that the "pageview" in OpenWindows 3.0.1 addresses this problem in a
- "brute force" way; it provides (in the "Properties" sheet) a button you can
- click on which is called "Ignore PostScript Structuring Comments". If you
- run into one of these rogue PostScript files, you can bring up the Properties
- sheet, check off said box, press the "Apply" button, and "pageview" will
- re-render the document (albeit slowly/slower), hopefully correctly. What it
- does if you click that box is to redefine "showpage" within itself, so that it
- can brute-force interpret the PostScript without regard for the "%%Page:"
- comments. This method is more accurate but is more compute-intensive, thus
- it takes a bit longer to re-render if you use this option. But (speaking from
- vast experience) it's well worth it!
-
- The OpenWindows 3.0.1 "pageview" is now playing on a Solaris 2.0 machine near
- you ...
-
- --
- - Greg Earle
- Sun Microsystems
- JPL on-site Software Support Engineer
- earle@poseur.JPL.NASA.GOV, earle@Sun.COM
-
-