Path: utzoo!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!uunet!mcsun!hp4nl!alchemy!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: Integrating Rokicki's dvips with Cartlidge's multi.ps Message-ID: <1991Mar18.123441.25761@cs.ruu.nl> Date: 18 Mar 91 12:34:41 GMT References: <4946@goanna.cs.rmit.oz.au> Sender: piet@cs.ruu.nl (Piet van Oostrum) Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 29 In-Reply-To: isaac@goanna.cs.rmit.OZ.AU (Isaac Balbin) >>>>> isaac@goanna.cs.rmit.OZ.AU (Isaac Balbin) (IB) writes: IB> Aside from dirty scripts, has anyone cleanly integrated the two using IB> header files and hooks? I came up with the following that works with dvips 5.47: (On A4 paper) ------------------------ twoup---------------------------------------- /isoddpage true def /orig-showpage /showpage load def /factor 0.707106781187 def /showpage { isoddpage not { orig-showpage } if /isoddpage isoddpage not store } def /bop-hook { /vsize 1 factor add neg def isoddpage {factor factor scale} { 0 544.283799804 translate} ifelse } def /end-hook{ isoddpage not { orig-showpage } if } def ------------------------------------------------------------------------ Use with dvips -h twoup -t landscape -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')