🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #121

Re: Putting two A5 pages on one A4, from dvitps output

#121
From: Afzal Ballim
Date: Tue, 03 Nov 1992 13:30
45 lines
2074 bytes
To those of you who mailed me solutions, I thank you all.

The final solution I adopted was one brought on by laziness. I could
have taken the "soft" option, and reformatted the LaTeX file by 
adjusting the book style to use the entire of the A4 page (in 12pt)
and then using (for example) a conbination of "dvidvi" and
"psnup -2" to get the intended result. This, however, would have 
reduced 12pt to something like 8.4pt which was not acceptable to
me (I wanted 10pt). 

So, the solution I adopted was the following:

1) produce conforming postscript from the dvi file, by

   dvitps -C src >trg.ps

2) transform the postscript file into "signature" format using

   psbook -s4 trg.ps trg-s.ps

which gives a page ordering of 4,1,2,3

3) use pstops to print this by

   pstops -w21cm -h29.7cm 2:OL@1(29.5cm,-5.9cm)+1L@1(29.5cm,15.2cm) trg-s.ps 
	> trg-fin.ps

And, heh presto! 

"psbook" and "pstops" are part of the "psutils" package, which may be found
at 
	colonsay.dcs.ed.ac.uk		(Europe)
	guardian.cs.psu.edu		(US)
	
among others. If anyone would like copies of my modified LaTeX "book"
style which produces the correct format for the above transformations,
they can contact me at the below address.

Again, thanks all.

-- 
Afzal Ballim	             |BITNET,EARN,MHS,X.400: afzal@divsun.unige.ch
 ISSCO, University of Geneva |UUCP: mcsun!divsun.unige.ch!afzal
 54 route des Acacias	     |JANET: afzal%divsun.unige.ch@uk.ac.ean-relay
 CH-1227 GENEVA,Switzerland  |CSNET,ARPA: afzal%divsun.unige.ch@relay.cs.net
Technical Details
Message-ID: <1992Nov3.133023.19506@news.unige.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!chx400!news.unige.ch!divsun.unige.ch!afzal
References: <1992Nov2.164606.12932@news.unige.ch>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!chx400!news.unige.ch!divsun.unige.ch!afzal
From: afzal@divsun.unige.ch (Afzal Ballim)
Subject: Re: Putting two A5 pages on one A4, from dvitps output
Message-ID: <1992Nov3.133023.19506@news.unige.ch>
Keywords: The Solution
Sender: usenet@news.unige.ch
Reply-To: afzal@divsun.unige.ch
Organization: University of Geneva, Switzerland
References:  <1992Nov2.164606.12932@news.unige.ch>
Date: Tue, 3 Nov 1992 13:30:23 GMT
Lines: 45