]> git.donarmstrong.com Git - lilypond.git/commitdiff
* ly/init.ly: reverse collected scores.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 19 Sep 2004 09:09:53 +0000 (09:09 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 19 Sep 2004 09:09:53 +0000 (09:09 +0000)
* scm/page-layout.scm (ly:optimal-page-breaks): use non-ragged
layout to determine force.

ChangeLog
input/regression/lyric-combine.ly
ly/init.ly
scm/page-layout.scm

index 88744c7de5eadda44a9075608e92c8ef68cff341..fa9f7b118029a951db5de3880bf3f8c6be3fcd41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-19  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * ly/init.ly: reverse collected scores.
+
+       * scm/page-layout.scm (ly:optimal-page-breaks): use non-ragged
+       layout to determine force.
+       
 2004-09-18  Werner Lemberg  <wl@gnu.org>
 
        * ly/engraver-init.ly <Score> [quotedEventTypes]: Add tuplets and
index 927bf94a561af63c92f6935f218234edf140cb60..60a434cd51f76fcbb40f0d6c7fe16dc4da37b4b4 100644 (file)
@@ -2,7 +2,7 @@
 \version "2.3.17"
 
 \header{
-texidoc= "Lyrics can be set to a melody automatically.  Excess lyrics will be
+    texidoc= "Lyrics can be set to a melody automatically.  Excess lyrics will be
 discarded.  Lyrics will not be set over rests.  You can have melismata
 either by setting a property melismaBusy, or by setting
 automaticMelismas (which will set melismas during slurs and ties).  If
@@ -13,37 +13,37 @@ extenders do not assume anything about lyric lengths, so they continue
 to work."
 }
 
-    \paper { raggedright= ##t }
+\paper { raggedright= ##t }
 
 
 
-m =   \relative c'' {
-       \autoBeamOff
-       g8( a)  r8 \times 2/3 { g'8( f e) } r8 \grace {  d16[ c b] } e4
-       \emptyText
-       d8.^"melisma"   \melisma c16
-       \melismaEnd
-       b }
+m = \relative c'' {
+    \autoBeamOff
+    g8( a)  r8 \times 2/3 { g'8( f e) } r8 \grace {  d16[ c b] } e4
+    \emptyText
+    d8.^"melisma"      \melisma c16
+    \melismaEnd
+    b
+}
 
 noise = \repeat unfold 6  \relative c'' { g16 g g g }
 
- textI = \context Lyrics = "middle-1" \lyricmode { la2 __ la -- la __ la la la la la  }
+textI = \context Lyrics = "middle-1" \lyricmode { la2 __ la -- la __ la la la la la  }
 textII = \context Lyrics = "middle-1" \lyricmode { da -- da __ da -- da da da da da  }
 
-\score {
-     << \context Staff = SA \noise
-      \context Lyrics = LA { s1 }
-      \context Staff = SB { s1 }
-      \context Lyrics = LB { s1 }
-      \context Staff = SC \noise
-      
-      \oldaddlyrics
-         \context Staff = SB \context Voice="middle" \m
-         << \context Lyrics = LA \textI
-           \context Lyrics = LB \textII
-         >>
-         
-    >>
-}
+
+<< \context Staff = SA \noise
+   \context Lyrics = LA { s1 }
+   \context Staff = SB { s1 }
+   \context Lyrics = LB { s1 }
+   \context Staff = SC \noise
+   
+   \oldaddlyrics
+   \context Staff = SB \context Voice="middle" \m
+   << \context Lyrics = LA \textI
+      \context Lyrics = LB \textII
+  >>
+   
+>>
 
 
index 0956b0cfce2d657c14c23c5290ef12ac8b2e0644..38350767dd4982eee57185839852d2f46758bc72 100644 (file)
@@ -32,5 +32,5 @@
 
 #(if (pair? toplevel-scores)
   (ly:parser-print-book parser
-   (apply ly:make-book $defaultbookpaper $globalheader toplevel-scores)))
+   (apply ly:make-book $defaultbookpaper $globalheader (reverse toplevel-scores))))
 
index 49568d251d0ddeb3ae5e6cd05e82bc8c20284eae..590c4d8cda2905015eb4225ea917530c840d427d 100644 (file)
@@ -337,7 +337,8 @@ is what have collected so far, and has ascending page numbers."
                  springs rods space
                  ragged?))
 
-        (force (car result))
+        (force (car (ly:solve-spring-rod-problem
+                     springs rods space #f)))
         (positions
          (map (lambda (y)
                       (+ y topskip))