From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076327921397.tru64-unix-managers.marc@archive.invalid> From: Magali.Bernard () criter ! univ-st-etienne ! fr (Magali BERNARD) Date: Mon, 22 Jan 1996 14:07:32 +0000 To: tru64-unix-managers Subject: SUMMARY : No page numbers with ghostview X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076327921397 Many thanks to Juan Gallego : > On Mon, 22 Jan 1996, Magali BERNARD wrote: > > > > > Hello all, > > > > After compiling ghostview/tex/latex... I tried to get "files.ps" > > from "files.texi" providing in various softwares. It works well > > except one thing : > > > > Loading these "files.ps" with ghostview does not show the page > > numbers in the middle column besides menus, the only solution > > to show a page is to repeat "Next page". > > I assume that to convert the dvi file into postscript you used dvips. For > mostly historical reasons, dvips strips structured comments from the PS > file since they used to confuse older PS interpreters/printers. Current > versions of ghostscript/ghostview rely on these very same comments to get > paging information. In order to have dvips include structured comments, > use the -N0 switch: > > dvips -N0 file.dvi > > Also, if you want structured comments to be the default, there is an > entry in the configuration files (/config.ps) > that contains lines similar to: > > % Too-smart spoolers and/or printers get confused. > % Our LJ4 gets `22 Error' (inconsistently) from the structured comments. > N > > Just change the N to N0. > > Hope this helps, > > Juan Gallego > Little ({sys|net}{admin|programmer|hacker}) Boss _________________________________________ Magali BERNARD (magali@univ-st-etienne.fr) CRITeR - 23 rue du Dr Paul Michelon 42023 St-Etienne Cedex 2 - FRANCE Tel: 77.48.50.62