lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond python/convertrules.py input/test/vert...


From: Mats Bengtsson
Subject: Re: lilypond python/convertrules.py input/test/vert...
Date: Sat, 28 Oct 2006 19:20:44 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Are you sure that this patch is correct. The convertrules gives
\override VerticalAxisGroup = ..., which probably gives a syntax error and
in vertical-extent.ly, you have changed to \set VerticalAxisGroup = ...

I would actually have expected to see
\override VerticalAxisGroup #'Y-extent = ...
throughout.

  /Mats


Quoting Jan Nieuwenhuizen <address@hidden>:

CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Changes by:     Jan Nieuwenhuizen <janneke>       06/10/28 10:41:16

Modified files:
        python         : convertrules.py
        input/test     : vertical-extent.ly
        .              : ChangeLog

Log message:
        * input/test/vertical-extent.ly:
        * python/convertrules.py (conv): verticalExtent -> VerticalAxisGroup.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/lilypond/python/convertrules.py?cvsroot=lilypond&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/lilypond/input/test/vertical-extent.ly?cvsroot=lilypond&r1=1.39&r2=1.40
http://cvs.savannah.gnu.org/viewcvs/lilypond/ChangeLog?cvsroot=lilypond&r1=1.5522&r2=1.5523

Patches:
Index: python/convertrules.py
===================================================================
RCS file: /cvsroot/lilypond/lilypond/python/convertrules.py,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- python/convertrules.py      22 Sep 2006 07:31:30 -0000      1.64
+++ python/convertrules.py      28 Oct 2006 10:41:15 -0000      1.65
@@ -2632,7 +2632,8 @@
    str = re.sub (r"minimumVerticalExtent",
                  r"\\override VerticalAxisGroup #'minimum-Y-extent",
                  str)
-
+    str = re.sub (r"\\set ([a-zA-Z]*\.?)verticalExtent",
+                 r"\\override \1VerticalAxisGroup")
    return str

conversions.append (((2, 7, 14), conv,

Index: input/test/vertical-extent.ly
===================================================================
RCS file: /cvsroot/lilypond/lilypond/input/test/vertical-extent.ly,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- input/test/vertical-extent.ly       16 Mar 2006 14:53:03 -0000      1.39
+++ input/test/vertical-extent.ly       28 Oct 2006 10:41:16 -0000      1.40
@@ -10,12 +10,12 @@
\score {
    <<
    \new Staff {
-      \set Staff.verticalExtent = #'(-15.0 . 0.0)
+      \set Staff.VerticalAxisGroup = #'(-15.0 . 0.0)
      \clef alto
      c1
    }
    \new Staff {
-      \set Staff.verticalExtent = #'(-0.0 . 15.0)
+      \set Staff.VerticalAxisGroup = #'(-0.0 . 15.0)
      \clef alto
      g1
    }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/lilypond/lilypond/ChangeLog,v
retrieving revision 1.5522
retrieving revision 1.5523
diff -u -b -r1.5522 -r1.5523
--- ChangeLog   27 Oct 2006 23:36:27 -0000      1.5522
+++ ChangeLog   28 Oct 2006 10:41:16 -0000      1.5523
@@ -1,3 +1,8 @@
+2006-10-28  Jan Nieuwenhuizen  <address@hidden>
+
+       * input/test/vertical-extent.ly:
+       * python/convertrules.py (conv): verticalExtent -> VerticalAxisGroup.
+
2006-10-28  Han-Wen Nienhuys  <address@hidden>

        * stepmake/bin/add-html-footer.py (compose): remove setgcos


_______________________________________________
Lilypond-cvs mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-cvs








reply via email to

[Prev in Thread] Current Thread [Next in Thread]