Compare commits
No commits in common. "47bb7991b8a4dbca9f747631df7dbb7c42d4879e" and "f0ffd3f6305f61ab47cdae342e749c44d1f9b78f" have entirely different histories.
47bb7991b8
...
f0ffd3f630
@ -1,2 +0,0 @@
|
||||
\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")
|
||||
|
||||
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (parse-yml-file "../data/authors.yml")))
|
||||
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (parse-yml-file "../data/songs.yml")))
|
||||
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (call-with-input-file "../data/authors.json" json->scm)))
|
||||
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (call-with-input-file "../data/songs.json" json->scm)))
|
@ -18,19 +18,19 @@ TEXT = \markuplist {
|
||||
\TEXT
|
||||
}
|
||||
|
||||
#(if (not noStandaloneOutput)
|
||||
(begin
|
||||
(let ((header (ly:book-header HEADER)) (paper (ly:book-paper HEADER)))
|
||||
(if header (set! $defaultheader header))
|
||||
(if paper (set! $defaultpaper paper))
|
||||
)
|
||||
(add-score #{
|
||||
% nur Output wenn noStandaloneOutput auf false steht
|
||||
output = #(if (not noStandaloneOutput)
|
||||
#{
|
||||
\bookpart {
|
||||
\HEADER
|
||||
|
||||
\score {
|
||||
\MUSIC
|
||||
\layout { \LAYOUT }
|
||||
}#})
|
||||
(add-score TEXT)
|
||||
(add-score #{
|
||||
}
|
||||
|
||||
\TEXT
|
||||
|
||||
\score {
|
||||
\unfoldRepeats { \MUSIC \INLINESCOREMUSIC }
|
||||
\midi {
|
||||
@ -40,5 +40,15 @@ TEXT = \markuplist {
|
||||
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