So far (version 2.4.x and earlier apart from a few 2.3.xx), the final output is produced by dvips and ps2pdf and if you run lilypond --verbose, you will notice that lilypond tells them what papersize to produce based on the setting of papersizename. You may have to run lilypond --dvi and then run dvips + ps2pdf manually with additional flags to tell them what paper size you have (actually, it may be enough to run ps2pdf on the .ps file you get from lilypond to give a PDF of correct size). I hope you have a printer and printer driver that can handle this strange paper size even if you manage to get a correct paper size in the PDF file, otherwise it doesn't help.
/Mats
Benjamin Esham wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Nov 14, 2004, at 8:27 PM, Paul Scott wrote:
Any ideas what's going on, and how I can set a custom paper size? (Are there
other variables that need to be set in \paper?)
I think you will have to set all relevant variables: linewidth, textheight, and
maybe margins. I think these are set when you set papersize or #(set-default-
paper-size "a4"). Also set Paper Scaling in Acrobat Reader to "None".
OK, I tried
\paper { topmargin = 0.5\in bottommargin = 0.5\in leftmargin = 0.5\in linewidth = 3.4\in headsep = 0\in footsep = 0\in hsize = 4.4\in vsize = 4.4\in }
and the formatting seems to be OK (except for the tagline)âi.e., everything is, as
far as I can tell, within a 4.4x4.4-inch squareâbut the paper size remains the same.
I tried to open the PDF in Acrobat Reader, Preview, and GraphicConverter, and the
PS file in Preview, but the paper size was the same (letter-ish) in all of them.
- -- Benjamin D. Esham { http://bdesham.net [EMAIL PROTECTED] } AIM: bdesham 1 2 8 Wikipedia, the Free Encyclopedia - wikipedia.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin)
iD8DBQFBmBSyzOC3TdZ2u5oRAs72AKCd7p8HtSg7LGDy3ae+HZz5mGy+mgCggdLT x0BZ/AmYPB6KHhY8ta/Jl/c= =abdQ -----END PGP SIGNATURE-----
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-use r
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user