From: Han-Wen Nienhuys Date: Mon, 30 Jan 2006 02:07:32 +0000 (+0000) Subject: release commit X-Git-Tag: release/2.7.30 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3b507c197ee079c146b7f835fc6a6c500d7c3cd0;p=lilypond.git release commit --- diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 27dafed490..89ccdb9556 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -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 \voiceC + \new Voice \voiceB >> @end lilypond diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 32ddd106e4..6dbe50f973 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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)