Compare commits
2 Commits
f0ffd3f630
...
47bb7991b8
Author | SHA1 | Date | |
---|---|---|---|
47bb7991b8 | |||
d94703547c |
2
break_paged_output.ily
Normal file
2
break_paged_output.ily
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
\include "lilypond-book-preamble.ly"
|
||||||
|
#(ly:set-option 'separate-page-formats "pdf")
|
@ -4,5 +4,5 @@
|
|||||||
|
|
||||||
\include #(if noDefaultOutput "void.ly" "all_base_includes.ly")
|
\include #(if noDefaultOutput "void.ly" "all_base_includes.ly")
|
||||||
|
|
||||||
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (call-with-input-file "../data/authors.json" json->scm)))
|
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (parse-yml-file "../data/authors.yml")))
|
||||||
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (call-with-input-file "../data/songs.json" json->scm)))
|
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (parse-yml-file "../data/songs.yml")))
|
||||||
|
@ -18,19 +18,19 @@ TEXT = \markuplist {
|
|||||||
\TEXT
|
\TEXT
|
||||||
}
|
}
|
||||||
|
|
||||||
% nur Output wenn noStandaloneOutput auf false steht
|
#(if (not noStandaloneOutput)
|
||||||
output = #(if (not noStandaloneOutput)
|
(begin
|
||||||
#{
|
(let ((header (ly:book-header HEADER)) (paper (ly:book-paper HEADER)))
|
||||||
\bookpart {
|
(if header (set! $defaultheader header))
|
||||||
\HEADER
|
(if paper (set! $defaultpaper paper))
|
||||||
|
)
|
||||||
|
(add-score #{
|
||||||
\score {
|
\score {
|
||||||
\MUSIC
|
\MUSIC
|
||||||
\layout { \LAYOUT }
|
\layout { \LAYOUT }
|
||||||
}
|
}#})
|
||||||
|
(add-score TEXT)
|
||||||
\TEXT
|
(add-score #{
|
||||||
|
|
||||||
\score {
|
\score {
|
||||||
\unfoldRepeats { \MUSIC \INLINESCOREMUSIC }
|
\unfoldRepeats { \MUSIC \INLINESCOREMUSIC }
|
||||||
\midi {
|
\midi {
|
||||||
@ -40,15 +40,5 @@ output = #(if (not noStandaloneOutput)
|
|||||||
tempoWholesPerMinute = #(ly:make-moment midiQuarterNoteSpeed 4)
|
tempoWholesPerMinute = #(ly:make-moment midiQuarterNoteSpeed 4)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}#})
|
||||||
|
))
|
||||||
|
|
||||||
}
|
|
||||||
#}
|
|
||||||
)
|
|
||||||
|
|
||||||
% if we don't want a standalone output, cause we compile a book, we just have an empty output here,
|
|
||||||
% so lilypond does not generate output for this song
|
|
||||||
\book {
|
|
||||||
\bookpart { \output }
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user