]> git.donarmstrong.com Git - lilypond.git/commitdiff
release commit release/2.7.30
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 30 Jan 2006 02:07:32 +0000 (02:07 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 30 Jan 2006 02:07:32 +0000 (02:07 +0000)
Documentation/topdocs/NEWS.tely
scripts/lilypond-book.py

index 27dafed49022add0559989f970cd96d020041f6c..89ccdb9556f598e0beee9a4d2deb442f0203f23a 100644 (file)
@@ -47,9 +47,23 @@ the @uref{../,LilyPond Documentation}
 
 @itemize @bullet
 
+@ignore
+
+HINTS
+
+* only show verbatim input for syntax/input changes
+
+* try to be as brief possible in those cases
+
+* don't try to provide real-world examples, they often get too big,
+which scares away people.
+
+@end ignore
+
 @item
 Music may for multiple parts can be interleaved, similar to MUP input.
-This is done with the \parallelMusic function,
+This is done with the @code{\parallelMusic} function,
   
 @lilypond[verbatim,raggedright]
 \parallelMusic #'(voiceA voiceB) {
@@ -62,7 +76,7 @@ This is done with the \parallelMusic function,
   \new Staff
     \new Voice \voiceA 
   \new Staff
-    \new Voice \voice
+    \new Voice \voiceB
 >> 
 @end lilypond
 
index 32ddd106e46f2976ed7365ba0b6df6a53567b144..6dbe50f9739adbe6f4df53fa7ad266a43f2c769e 100644 (file)
@@ -550,13 +550,15 @@ output = {
        },
 }
 
-PREAMBLE_LY = r'''%%%% Generated by %(program_name)s
+PREAMBLE_LY = '''%%%% Generated by %(program_name)s
 %%%% Options: [%(option_string)s]
 
 #(set! toplevel-score-handler print-score-with-defaults)
-#(set! toplevel-music-handler (lambda (p m)
-                              (print-score-with-defaults
-                               p (scorify-music m p))))
+#(set! toplevel-music-handler
+  (lambda (p m)
+   (if (not (eq? (ly:music-property m \'void) #t))
+        (print-score-with-defaults
+         p (scorify-music m p)))))
 
 #(ly:set-option (quote no-point-and-click))
 #(define inside-lilypond-book #t)