DescriptionAdd user-init option to include a custom init snippet (not replacing the whole init file)
This allows the user to apply the same set of options/definitions to different files. In particular,
lilypond -duser-include=myinclude.ily file.ly
will compile file.ly, but read and execut myinclude.ily before file.ly is processed. That way, e.g. global paper changes can be easily done, and a file can be run several times, each time with a different user-include file containing different settings.
This feature is similar to the --init=DATEI feature, except that --init will replace the whole init sequence (thus your init file will copy all of lilypond's init.ly), while -duser-include will only add some definitions to the normal init sequence in init.ly (i.e. the file is included using scheme in init.ly).
Patch Set 1 #Patch Set 2 : Remove debug statement #
Total comments: 5
MessagesTotal messages: 6
|