lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (semi-OT) making tabloid-sized booklets


From: Christian Conkle
Subject: Re: (semi-OT) making tabloid-sized booklets
Date: Thu, 11 May 2006 00:33:30 -0500
User-agent: Mozilla Thunderbird 1.0.8 (X11/20060429)

After a few hours of frustration, I've succeeded in making tabloid-sized
music booklets (ie print music on a tabloid sheet, fold in half, and you get
a booklet with letter-sized pages). In case anybody else is interested in
this (either immediately or when they're searching the archives and/or google
in a few months), here's how to do it:

(use lilypond, lilypond-book, whatever; produce a .ps)


psbook example.ps book.ps
psnup -2 -ptabloid -Pletter example.ps tabbook.ps
ps2pdf -sPAPERSIZE=11x17 tabbook.ps tabbook.pdf


I found the basic usage of psbook/psnup in five minutes, but it took me
a few hours to figure out that psnup -ptabloid (and also psresize ) does
_NOT_ adjust the BoundayBox in the output.ps file.  (ie tabbook.ps in
this example).  (this is with psutils 1.17-2 in fink)
If you look at tabbook.ps with a postscript viewer like gv, you'll only
see a letter-sized portion of the tabloid-sized music, and a simple
ps2pdf tabbook.ps tabbook.pdf
will produce a similar letter-sized portion of the tabloid-sized music.


Anyway, as long as you specify the -sPAPERSIZE with ps2pdf,
all is well.  You can also chain the above commands together
into a shell script:


#!/bin/sh
psbook $1.ps | psnup -2 -ptabloid -Pletter | ps2pdf -sPAPERSIZE=11x17 - 
tab-$1.pdf


Hope this helps somebody,
- Graham

This does in fact help tremendously, thanks! I'm preparing a score and parts for a performance next week, and these instructions have been invaluable. However, they don't work "out-of-the-box" anymore! With psutils 1.17 just like you, and Lilypond 2.7.30, running pstobook|psnup|ps2pdf produced output where each "logical" page was apperently centered on the edge of the output page: half cut-off. Producing a PS via lilypond --pdf and pdftops produced proper output. I know that people have been talking about Lilypond's postscript output for a while (I applied John Hawkinson's patch to print on 9x12 paper as required by my orchestra), and I wonder if anybody's interested in rooting out what's going on. (Postscript scares me a bit.)

-Christian Conkle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]