[comp.text.tex] Extracting pages from PS files

naren@cs.UAlberta.CA (Narendra Ravi) (07/22/90)

I want to know if a page or two can be extracted from
a postscript file (which is the result of compiling
a LaTeX document). The original LaTeX file doesn't
exist anymore.

Just wondering...

Please post or e-mail.

Naren.
--

dhosek@sif.claremont.edu (Hosek, Donald A.) (07/22/90)

In article <1990Jul22.022417.9350@cs.UAlberta.CA>, naren@cs.UAlberta.CA (Narendra Ravi) writes...

>I want to know if a page or two can be extracted from
>a postscript file (which is the result of compiling
>a LaTeX document). The original LaTeX file doesn't
>exist anymore.

>Just wondering...

It depends on which driver created the PostScript. Most TeX
drivers' output cannot be manipulated in the manner which you
would like since it is difficult if not impossible to write a
PostScript file using downloaded fonts which is both efficient
and page independent. If you want to grab the first N pages of
the document, that can be achieved through some hacking of the PS
file, but getting, say pages 2-3 would be a non-trivial endeavor.

-dh

---
Don Hosek                         TeX, LaTeX, and Metafont Consulting and
dhosek@ymir.claremont.edu         production work. Free Estimates.
dhosek@ymir.bitnet                
uunet!jarthur!ymir                Phone: 714-625-0147