🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #5615

Splitting DVI Files

#5615
From: The Cybermat Rider
Date: Mon, 02 Jan 1989 09:23
21 lines
1618 bytes
I've written a Perl script that takes a Postscript file generated from a
.dvi file via dvi2ps and splits it into two files containing odd- and
even-numbered pages respectively.  This is to facilitate printing
double-sided pages on a LaserWriter.

However, I've found that printing the split-files is a REAL headache.  It
occasionally works well, but often enough, I either get NOTHING AT ALL or
just 1 page!  (Before anyone mentions it, the Postscript prolog and trailer
from the original are present in each split-file.

Does anyone know how to split a TeX file into odd and even pages (a) at the
Postscript level and/or (b) at the DVI level?  (I'm not asking how to to it
at the TeX level coz I often don't have access to the document sources.)
Better still, does anyone have any code that does this?

Thanks very much in advance for any info!

----------------------------------------------------------------------------
Adrian Ho a.k.a. The Cybermat Rider	  University of California, Berkeley
c60a-2di@web.berkeley.edu
Disclaimer:  Nobody takes me seriously, so is it really necessary?
Technical Details
Message-ID: <18669@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!gatech!purdue!decwrl!labrea!agate!e260-2b.berkeley.edu!c60a-2di
References: <8648@alice.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!gatech!purdue!decwrl!labrea!agate!e260-2b.berkeley.edu!c60a-2di
From: c60a-2di@e260-2b.berkeley.edu (The Cybermat Rider)
Newsgroups: comp.text
Subject: Splitting DVI Files
Summary: Request for info
Keywords: DVI files splitting
Message-ID: <18669@agate.BERKELEY.EDU>
Date: 2 Jan 89 09:23:13 GMT
References: <8648@alice.UUCP>
Sender: usenet@agate.BERKELEY.EDU
Organization: University of California, Berkeley
Lines: 21