[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gv] gv fails when navigating back and forth
From: |
Frank Steiner |
Subject: |
Re: [bug-gv] gv fails when navigating back and forth |
Date: |
Fri, 11 Oct 2019 08:54:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hi Williamn,
William Bader wrote:
Can you post a small file? PgUp works only on files that have
comments like %%Page and that have the prolog separated correctly.
thanks for your explanation. I looked at our ps file and figured out
that ghostscript is the culprit. We send our files through ps2ps
before printing (with the option for a preview with gv, during which
the pgup fails) and this seems to destroy the page stuff.
E.g.
echo -e "asfd\fasf\fasdf" |a2ps -o 1.ps
will create a ps file that gv can scroll back and forth. But using
gs -sDEVICE=ps2write -sOutputFile=2.ps 1.ps
(which is what ps2ps basically does) will make scrolling through pages
fail with 2.ps.
We need ps2ps to make files fit into a certain paper format and I'm
not aware how to do this else, so I guess I'll have to ask the
ghostscrpt people.
So, it's not the fault of gv, just our way of using it after ps2ps.
Thanks for your help!
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *