Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!slxsys!jclark!jjc From: jjc@jclark.UUCP (James Clark) Newsgroups: comp.windows.open-look Subject: Re: Pageview problem Message-ID: Date: 28 Mar 91 21:04:38 GMT References: <35@ftms.UUCP> Sender: jjc@jclark.uucp (James Clark) Organization: None, London, England Lines: 25 In-Reply-To: brown@ftms.UUCP's message of 26 Mar 91 19:58:55 GMT 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