* Marc Horowitz <[EMAIL PROTECTED]> [060922 01:56]:
> Now, run gv on each of these files.  uu2.ps is a control.  It should
> work just fine, showing you pages numbered 1 and 2 in the page list in
> the lower left side.
> 
> "gv uc.ps" shows only the first page.  I don't see any way to show the
> second page at all.  But it is there: if you print the file, or use
> use "gv -nodsc uc.ps", or use ps2pdf to convert it to pdf and view it
> with your favorite pdf viewer, you see both pages.
> 
> "gv cc2.ps" shows both pages, but acts as if the DSC comments are not
> present at all.  PageUp doesn't do anything, and PageDown cycles
> between the first page, the second page, and a blank page.

I've only looked at it in the sarge versions of a2ps and gc, but
they show the symptoms you described and are definitly a bug in
a2ps.

$ grep '^%%\(Page\|BeginDocument\|EndDocument\)' uc.ps
%%Pages: 2
%%PageOrder: Special
%%Page: (1) 1
%%BeginDocument: c.txt.gz
%%Pages: 1
%%PageOrder: Ascend
%%Page: (1) 1
%%EndDocument

The document says it has two Pages, but only lists a single one.
The second page is hidden in a document after the showpage of the
first page.

Fixing this one via:
--- uc.ps       2006-09-22 10:30:05.599386080 +0200
+++ ucfixed.ps  2006-09-22 10:33:26.115902936 +0200
@@ -770,6 +770,7 @@
 end % of iso1dict
 pagesave restore
 showpage
+%%Page (2) 2
 BeginInclude
 %%BeginDocument: c.txt.gz
 %!PS-Adobe-3.0

causes gv to show pages as one would guess them, so this definitly
looks like a a2ps book. (At least using sarge, but I'd be suprised
to have it so much reversed in sid.)

Hochachtungsvoll,
        Bernhard R. Link


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to