Don Simons wrote: > By imposition I mean converting a file defining a set of letter-size (8.5 > by > 11 in) pages into one defining a set of ledger size pages (17 by 11), > each one containing two letter sized ones, and arranged in such a way > that I can print the ledger sheets 2-sided to make a booklet. Over the > years I've developed a scheme that does this at the dvi level, using a > combination of the ancient programs dviselec, dviconca, and dvidvi. It > usually works but sometimes fails. When it fails, it still allows me to > create a ledger sized postscript from the final dvi (using dvips), but > when viewing the postscript in gsview, at some page after the first > gsview tells me I have bad postscript and refuses to go on. I'm fairly > sure the problem has to do with the postscript specials required by type > K slurs, and I tried to remedy it (long ago) with a PMX option to insert > psslurs.pro into the postscript at the start of every page, but even that > doesn't always solve the problem. > > I know there is supposed to be an similar set of programs that let you do > imposition at the postscript level (psbook, etc). I've tried those too, > but was never successful in getting acceptable control over the size and > position of the component page images. > > I'd be very interested to hear how others have approached this task. It > seems that it would be an issue in many other TeX applications beyond > MusiXTeX , and I'd expect there to be some number of folks out there who > have addressed it and have it under control. > > --Don Simons
In TeX, I do it by supplanting \output with an \output routine which collects the pages in \box registers instead. Then at the end (when \bye is encountered) it does the relevant work to spit out the actual pages of the booklet. You of course run a risk of running out of TeX memory if you do that on a truly huge document as you have to hold the entire output in memory through the entire job. It's not the easiest of TeX hacks. However, more usually, I'd just use Adobe Reader's built-in booklet printing mode on the normal PDF... David ------------------------------- [email protected] mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music

