[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] [RFC][PATCH] make kghostview move back through pages
From: |
Niclas Carlsson |
Subject: |
[Texmacs-dev] [RFC][PATCH] make kghostview move back through pages |
Date: |
Tue, 5 Nov 2002 17:08:59 +0200 |
User-agent: |
Mutt/1.3.19i |
Hello!
> > +/*
> > body << "\n%%Page: " << as_string (cur_page) << " "
> > << as_string (nr_pages) << "\n"
> > << as_string (cur_page) << " "
> > << as_string (cur_page-1) << " bop\n";
> > +*/
> > + body << "\n%%Page: " << as_string (cur_page) << " "
> > + << as_string (cur_page) << "\n"
> > + << as_string (cur_page) << " "
> > + << as_string (cur_page-1) << " bop\n";
>
> This is incorrect. Postscript expects "x y" with
> "x= nr of page" and "y = out of".
Judging from a number of Postscript files on my hard disk, at least files
created by dvips have:
%%Page: x y
where x is the actual page number (not necessarily unique or increasing)
and y is a sequential numbering of the pages (1, 2, 3, etc)
The total number of pages is given, for instance, by
%%Pages: 18
%%PageOrder: Ascend
in the header.
Cheers, Nicke
--
-[ address@hidden ]- Seek simplicity, and distrust it. (A. Whitehead)