load AUTHOR_DATA via path convention
This commit is contained in:
		@@ -5,6 +5,9 @@
 | 
			
		||||
    (load (string-append scmdir "json_parser.scm"))
 | 
			
		||||
    (load (string-append scmdir "resolve_inherits.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 "eps_file_from_song_dir.ly"
 | 
			
		||||
\include "title_with_category_images.ly"
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,3 @@
 | 
			
		||||
#(define noDefaultOutput (if (defined? 'noDefaultOutput) noDefaultOutput #f))
 | 
			
		||||
 | 
			
		||||
\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")))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user