2023-11-02 23:13:11 +01:00
|
|
|
#(define noStandaloneOutput (if (defined? 'noStandaloneOutput) noStandaloneOutput #f))
|
|
|
|
|
2024-11-24 15:23:32 +01:00
|
|
|
#(if (defined? 'LAYOUT) #f
|
|
|
|
(let ((scmdir (string-append (dirname (current-filename)) file-name-separator-string "scm" file-name-separator-string)))
|
|
|
|
(load (string-append scmdir "json_parser.scm"))
|
|
|
|
(load (string-append scmdir "resolve_inherits.scm"))
|
|
|
|
(load (string-append scmdir "yaml_parser.scm"))))
|
2024-11-27 20:28:57 +01:00
|
|
|
#(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")))
|
|
|
|
|
2023-11-02 23:13:11 +01:00
|
|
|
\include "basic_format_and_style_settings.ly"
|
|
|
|
\include "eps_file_from_song_dir.ly"
|
|
|
|
\include "title_with_category_images.ly"
|
|
|
|
\include "chord_settings.ly"
|
|
|
|
\include "transposition.ly"
|
|
|
|
\include "verses_with_chords.ly"
|
|
|
|
\include "arrows_in_scores.ly"
|
|
|
|
\include "swing_style.ly"
|
|
|
|
\include "inline_score.ly"
|
|
|
|
|
|
|
|
% reset important variables
|
|
|
|
LAYOUT = \layout { \generalLayout }
|
|
|
|
HEADER = {}
|
|
|
|
MUSIC = {}
|
2024-05-22 22:38:02 +02:00
|
|
|
TEXT = \markuplist {""}
|
|
|
|
|
|
|
|
verseChords = {}
|
|
|
|
firstVoice = {}
|
|
|
|
global = {}
|