+2004-08-20 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * scripts/lilypond.py (ly_paper_to_latexpaper): Only set the
+ height of head and foot if textheight is not set, otherwise let
+ the geometry package make evenly sized head and foot.
+
2004-08-18 Mats Bengtsson <mabe@drongo.s3.kth.se>
* lily/clef-engraver.cc: Add forceClef to list of read properties.
ly.warning (_ ("invalid value: `%s'") % `extra['papersize'][0]`)
pass
- textheight = ''
+ # Default setting: textheight is determined implicitly:
+ textheight = ',bottom=11mm,top=12mm'
if extra['textheight']:
textheight = ',textheight=%f%s' % (extra['textheight'][0], unit)
linewidth = '597pt'
else:
linewidth = '%d%s' % (maxlw, unit)
- s += '\geometry{%swidth=%s%s,bottom=11mm,headsep=2mm,top=12mm,headheight=2mm,footskip=5mm,%s}\n' % (papersize, linewidth, textheight, orientation)
+ s += '\geometry{%swidth=%s%s,headsep=2mm,headheight=2mm,footskip=5mm,%s}\n' % (papersize, linewidth, textheight, orientation)
if 'twoside' in extra['latexoptions'] :