]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.5.43.jcn2
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 19 Mar 2002 23:08:34 +0000 (00:08 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 19 Mar 2002 23:08:34 +0000 (00:08 +0100)
2002-03-20  Jan Nieuwenhuizen  <janneke@gnu.org>

* mf/GNUmakefile (lilypond.map): Don't prepend TeX to font name
(this fixes pdf output).  Drop awk dependency.

ChangeLog
VERSION
lily/paper-outputter.cc
mf/GNUmakefile
scripts/ly2dvi.py

index d9cb4964fe141c8bd58ce5f11b3a1879ff5f37be..6e1811d6cc669bba81eae967bee6123f000c2b14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
+2002-03-20  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * mf/GNUmakefile (lilypond.map): Don't prepend TeX to font name
+       (this fixes pdf output).  Drop awk dependency.
+
 2002-03-19  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * scripts/ly2dvi.py (ly_paper_to_latexpaper): Assume LilyPond's
+       dimensions (linewidth) are in mm.
+
        * mf/GNUmakefile (depth): Always allow manual access to pfa target.
 
        * tex/lily-ps-defs.tex: scaletounit using PT/IN==72.
diff --git a/VERSION b/VERSION
index 421be982f6bbad55bf54ca1602e21d0cb388c2fa..42ad48e313649860abb284a0b2b8e4f374fa0ce2 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=jcn1
+MY_PATCH_LEVEL=jcn2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 9c28f6dcc8dac8db4bf628ff6839dce95e1d36ae..c14eb722248ca948b0b7f5b1d8f0d70cfd25a67d 100644 (file)
@@ -114,7 +114,7 @@ Paper_outputter::output_scope (Scope *scope, String prefix)
        }
       else if (gh_number_p (v))
        {
-         output_Real_def (prefix + s, gh_scm2double (v));        
+         output_Real_def (prefix + s, gh_scm2double (v));
        }
     }
 }
@@ -137,9 +137,9 @@ Paper_outputter::output_Real_def (String k, Real v)
 {
   
   SCM scm = scm_list_n (ly_symbol2scm ("lily-def"),
-                    ly_str02scm (k.ch_l ()),
-                    ly_str02scm (to_str (v).ch_l ()),
-                    SCM_UNDEFINED);
+                       ly_str02scm (k.ch_l ()),
+                       ly_str02scm (to_str (v).ch_l ()),
+                       SCM_UNDEFINED);
   output_scheme (scm);
 }
 
index 22d0607ea8e36eb3e47d569ec997a1a1be959007..ab77ff12b919fc6e825aa5048ad5c1b7809f9f13 100644 (file)
@@ -69,7 +69,8 @@ export MFINPUTS:=.:$(MFINPUTS)
 default: $(ALL_GEN_FILES)
 
 $(outdir)/lilypond.map: 
-       echo $(FONT_FILES:.mf=) | awk -v RS=' ' '{print $$1 " TeX-" $$1 " <" $$1 ".pfa"}' > $@
+       echo $(FONT_FILES:.mf=) | tr ' ' '\n' | \
+               sed 's/\(.*\)/\1 \1 <\1.pfa/' > $@
 
 ##
 ## todo: this also depends on .tfm, FIXME.
index d428202869b5eccf511cac581c4c8c2bba2ef0c9..f1c795ba082b3fd4ebf4d0e4e4c28fcf40e25a0b 100644 (file)
@@ -571,10 +571,10 @@ lily output file in TFILES after that, and return the Latex file constructed.  '
        maxlw = max (extra['linewidth'] + [-1])
        if maxlw < 0:
                # who the hell is 597 ?
-               linewidth = '597'
+               linewidth = '597pt'
        else:
                linewidth = maxlw
-       s = s + '\geometry{width=%spt%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
+       s = s + '\geometry{width=%smm%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
 
        if extra['latexoptions']:
                s = s + '\geometry{twosideshift=4mm}\n'