@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) {
\new Staff
\new Voice \voiceA
\new Staff
- \new Voice \voiceC
+ \new Voice \voiceB
>>
@end lilypond
},
}
-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)