Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!wind!naughton From: naughton@wind.Eng.Sun.COM (Patrick Naughton) Newsgroups: comp.windows.open-look Subject: Re: Pageview problem Message-ID: <10732@exodus.Eng.Sun.COM> Date: 29 Mar 91 22:29:36 GMT References: <35@ftms.UUCP> Sender: news@exodus.Eng.Sun.COM Reply-To: naughton@wind.Eng.Sun.COM (Patrick Naughton) Organization: Sun Microsystems, Inc. - Mountain View, CA Lines: 37 Guilty as charged. There was a bug in the V2 pageview which caused it to fail when loading documents with included PostScript documents (a line beginning with %!) inside of them... This is fixed in the latest version. (Don't ask me when you can get it.) In article , jjc@jclark.UUCP (James Clark) writes: |> In article <35@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes: |> |> I have a couple of groff produced PostScript files, one containing three |> pages and the other 26 pages. Needless to say that when I bring up pageview |> and load each file, ALL of the pages get displayed. So much for each page at |> a time. |> |> Does anyone have a hint as to what pageview is looking for for pagebreaks? |> Does it want %%Page:? If so, the document has: %%Page: 1 1, etc. |> |> Is pageview broke or an I missing something? |> |> I have had several people report this problem to me. Apparently |> pageview gets confused by lines after the first line that begin with |> `%!'. Note that such lines are allowed by the Document Structuring |> Conventions, so this is a bug in pageview. If you compile groff |> (actually just ps/ps.c) with -DBROKEN_SPOOLER, it will, amongst other |> things, strip out any such lines. In fact the Makefile explicitly |> says to use -DBROKEN_SPOOLER if you're going to be using pageview. |> (although it gave an incorrect reason for this in versions earlier |> than 1.01). |> |> James Clark |> jjc@jclark.uucp |> jjc@ai.mit.edu -- ______________________________________________________________________ Patrick J. Naughton email: naughton@sun.com Sun Laboratories voice: (415) 336 - 1080