Compare commits
3 Commits
f0ffd3f630
...
487bf457fb
Author | SHA1 | Date | |
---|---|---|---|
487bf457fb | |||
47bb7991b8 | |||
d94703547c |
@ -5,6 +5,9 @@
|
|||||||
(load (string-append scmdir "json_parser.scm"))
|
(load (string-append scmdir "json_parser.scm"))
|
||||||
(load (string-append scmdir "resolve_inherits.scm"))
|
(load (string-append scmdir "resolve_inherits.scm"))
|
||||||
(load (string-append scmdir "yaml_parser.scm"))))
|
(load (string-append scmdir "yaml_parser.scm"))))
|
||||||
|
#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (parse-yml-file "../../lilypond-song-includes/data/authors.yml")))
|
||||||
|
#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (parse-yml-file "../../lilypond-song-includes/data/songs.yml")))
|
||||||
|
|
||||||
\include "basic_format_and_style_settings.ly"
|
\include "basic_format_and_style_settings.ly"
|
||||||
\include "eps_file_from_song_dir.ly"
|
\include "eps_file_from_song_dir.ly"
|
||||||
\include "title_with_category_images.ly"
|
\include "title_with_category_images.ly"
|
||||||
|
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")
|
@ -3,6 +3,3 @@
|
|||||||
#(define noDefaultOutput (if (defined? 'noDefaultOutput) noDefaultOutput #f))
|
#(define noDefaultOutput (if (defined? 'noDefaultOutput) noDefaultOutput #f))
|
||||||
|
|
||||||
\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 SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (call-with-input-file "../data/songs.json" json->scm)))
|
|
@ -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 }
|
|
||||||
}
|
|
Reference in New Issue
Block a user