Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:

> can you have a look at current CVS? I had to deviate from the original
> design for naming the tweak files. The current interaction between
> \book, \score \paper etc. was too messy for a sensible automatic
> solution.
I have not really tested the new automatic spacing feature yet, but I
had to make to following change to make it work with guile 1.6:

Index: layout-page-layout.scm
===================================================================
RCS file: /cvsroot/lilypond/lilypond/scm/layout-page-layout.scm,v
retrieving revision 1.13
diff -u -r1.13 layout-page-layout.scm
--- layout-page-layout.scm      26 Jan 2006 15:08:08 -0000      1.13
+++ layout-page-layout.scm      27 Jan 2006 18:23:22 -0000
@@ -95,11 +95,12 @@
       (out-port (open-output-file name)))
       
      (ly:progress "Writing page layout to ~a" name)
-     (hash-for-each
-      (lambda (key val)
+     (hash-fold
+      (lambda (key val nil)
        (format out-port "~a = {" key)
        (dump-tweaks out-port (reverse val) (ly:make-moment 0 1))
         (display "}" out-port))
+       (list)
        tweaks)
      (close-port out-port)
      ))


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to