The recent changes of the page layout:
--------------
2004-01-02 Han-Wen Nienhuys <[EMAIL PROTECTED]>
* scripts/lilypond.py (global_latex_preamble): crank down size of
the margins. Now there is a 12 mm top and bottom margin, which
should correspond with the printable area of modern printers.
This enlarges the music height of the printable page a little. -------------- have some problems:
- They made lilypond incompatible with older versions of the geometry package since the options list includes 'includehead'. This is silly since we already have the option 'compat2', which among others implies 'includehead'. So, removing this option wouldn't change the layout and would regain the compatibility with geometry version 2.
- The setting footskip=2mm means that the baseline of the footer starts 2 mm below the page body. This means that the footer almost collides with last line of music if the music fills the full page and has ledger lines or dynamics enough to extend at least down to Score.minimumVerticalExtent. I propose to increase footskip to at least 6mm.
- Because of the compat2 option, the bottom margin including the footer is now 20+2=22mm. I don't understand why the bottom parameter was increased in a patch from 2004-01-13, since the top margin is top+headheight+headsep=16 mm, including the header. I propose to decrease the bottom margin to 16 mm including the footer.
I propose one of the following two patches. The first one gives compatibility with older versions of geometry. Both give the same result in the output.
-------------------- Version 1 --------------------------
--- lilypond.py.orig 2004-01-27 15:18:18.000000000 +0100
+++ lilypond.py 2004-01-27 16:43:03.000000000 +0100
@@ -438,7 +438,7 @@
linewidth = '597pt'
else:
linewidth = '%d%s' % (maxlw, unit)
- s = s + '\geometry{%swidth=%s%s,includehead,bottom=20mm,headsep=2mm,top=12mm,headheight=2mm,footskip=2mm,%s}\n' % (papersize, linewidth, textheight, orientation)
+ s = s + '\geometry{%swidth=%s%s,bottom=10mm,headsep=2mm,top=12mm,headheight=2mm,footskip=6mm,%s}\n' % (papersize, linewidth, textheight, orientation)
------------------------------------------------------------
-------------------- Version 2 -----------------------------
--- lilypond.py.orig 2004-01-27 15:18:18.000000000 +0100
+++ lilypond.py 2004-01-27 15:19:08.000000000 +0100
@@ -184,9 +184,6 @@
'latexheaders' : [],
'latexpackages' : ['geometry'],- # for geometry v3
- 'latexoptions' : ['compat2'],
-
'papersize' : [],
'pagenumber' : [1],
'textheight' : [],
@@ -438,7 +435,7 @@
linewidth = '597pt'
else:
linewidth = '%d%s' % (maxlw, unit)
- s = s + '\geometry{%swidth=%s%s,includehead,bottom=20mm,headsep=2mm,top=12mm,headheight=2mm,footskip=2mm,%s}\n' % (papersize, linewidth, textheight, orientation)
+ s = s + '\geometry{%swidth=%s%s,includehead,bottom=16mm,headsep=2mm,top=12mm,headheight=2mm,footskip=6mm,%s}\n' % (papersize, linewidth, textheight, orientation)
--------------------------------------------------
/Mats
-- ============================================= 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 =============================================
_______________________________________________ Bug-lilypond mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-lilypond
