---- ../lilypond-1.5.43/ChangeLog Tue Mar 19 01:50:26 2002
+--- ../lilypond-1.5.43.jcn2/ChangeLog Wed Mar 20 00:08:34 2002
+++ b/ChangeLog Wed Mar 20 09:32:31 2002
+@@ -1,5 +1,9 @@
+ 2002-03-20 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * scripts/ly2dvi.py: Read unit from paper vars.
+
+ * ly/params-init.ly (unit): Add interal unit for export to ly2dvi.
+
+ * mf/GNUmakefile (lilypond.map): Don't prepend TeX to font name
+ (this fixes pdf output). Drop awk dependency.
+ --- ../lilypond-1.5.43/ChangeLog Tue Mar 19 01:50:26 2002
++ b/ChangeLog Wed Mar 20 02:24:52 2002
@@ -1,3 +1,29 @@
2002-03-20 Rune Zedeler <rune@zedeler.dk>
\include \paperfile
\include "paper-init.ly"
+unit = "mm"
staffspace = \staffheight / 4.0
stafflinethickness = \staffspace / 10.0
outputscale = \staffheight / 4.0
'pagenumber' : [1],
'textheight' : [],
'linewidth' : [],
- 'orientation' : []
+ 'orientation' : [],
+ 'unit' : ['pt'],
}
extra_fields = extra_init.keys ()
if extra['orientation']:
orientation = extra['orientation'][0]
- # set sane geometry width (a4-width) for linewidth = -1.
+ unit = extra['unit'][-1]
+ # set sane geometry width (a4-width) for linewidth = -1.
maxlw = max (extra['linewidth'] + [-1])
if maxlw < 0:
# who the hell is 597 ?
linewidth = '597pt'
else:
- linewidth = maxlw
- s = s + '\geometry{width=%smm%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
+ linewidth = '%d%s' % (maxlw, unit)
+ s = s + '\geometry{width=%s%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
if extra['latexoptions']:
s = s + '\geometry{twosideshift=4mm}\n'