]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.5.43.jcn3
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 20 Mar 2002 08:32:31 +0000 (09:32 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 20 Mar 2002 08:32:31 +0000 (09:32 +0100)
* scripts/ly2dvi.py: Read unit from paper vars.

* ly/params-init.ly (unit): Add interal unit for export to ly2dvi.

---
Generated by janneke@gnu.org,
From = lilypond-1.5.43.jcn2, To = lilypond-1.5.43.jcn3

usage

    cd lilypond-source-dir; patch -E -p1 < lilypond-1.5.43.jcn3.diff

Patches do not contain automatically generated files
or (urg) empty directories,
i.e., you should rerun autoconf, configure

ChangeLog
VERSION
ly/params-init.ly
scripts/ly2dvi.py

index af429a62ad2ae615aab3720ba7579eb19bc683c5..5c0ad1ca0a17d6a9761c1bd2bcd2f2136b138335 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,15 @@
---- ../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>
diff --git a/VERSION b/VERSION
index 3f1105dc8bd6bb317aedc7e9afa02675e2fbaddb..ae508e86d32a3dd9936dc9a05cc69e8d906fcbf6 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
 PATCH_LEVEL=43
-MY_PATCH_LEVEL=rz1
+MY_PATCH_LEVEL=jcn3
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index d7dc051286d2d23b7ba4126c58ea1119cb7ad8de..de985ca6291003ee2112b6ae25cd5120c397aee0 100644 (file)
@@ -18,6 +18,7 @@ paperfile = \papersize + "-init.ly"
 \include \paperfile
 \include "paper-init.ly"
 
+unit = "mm"
 staffspace = \staffheight / 4.0
 stafflinethickness = \staffspace / 10.0
 outputscale = \staffheight / 4.0
index f1c795ba082b3fd4ebf4d0e4e4c28fcf40e25a0b..cdc6bf9423f4d950c4846f38654a62557904a699 100644 (file)
@@ -334,7 +334,8 @@ extra_init = {
        'pagenumber' : [1],
        'textheight' : [], 
        'linewidth' : [],
-       'orientation' : []
+       'orientation' : [],
+       'unit' : ['pt'],
 }
 
 extra_fields = extra_init.keys ()
@@ -567,14 +568,15 @@ lily output file in TFILES after that, and return the Latex file constructed.  '
        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'