Article View: comp.text
Article #255Re: side-by-side (landscape) for ditroff
From: Ron Natalie
Date: Wed, 12 Jul 1989 15:25
Date: Wed, 12 Jul 1989 15:25
12 lines
1071 bytes
1071 bytes
Yes, I've hacked it to do something like this (I needed two up format in a similar but different way). In the postscript prolog (pscat.pro or psdit.pro) you can hack the macros that the formatter puts out to begin and output pages. In pscat.pro it's BP and EP, and in psdit.pro it looks a little more complicated PE, PB and p. What I did (for pscat) was to put a translate and scale in the BP macro (superseding what was already in there) that depended on a boolean that flipped on every page. In EP the boolean gets flipped and if you've done both halves of the page executes a showpage. -Ron
Technical Details
Message-ID:
<Jul.12.11.24.45.1989.277@ron.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!elbereth.rutgers.edu!ron.rutgers.edu!ronReferences:
<520@hsi86.hsi.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!elbereth.rutgers.edu!ron.rutgers.edu!ron From: ron@ron.rutgers.edu (Ron Natalie) Newsgroups: comp.text,comp.lang.postscript Subject: Re: side-by-side (landscape) for ditroff Keywords: ditroff, PostScript, landscape Message-ID: <Jul.12.11.24.45.1989.277@ron.rutgers.edu> Date: 12 Jul 89 15:25:13 GMT References: <520@hsi86.hsi.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 12