Re: Where/when does LilyPond handle #(ly:set-option) commands?

2013-09-22 Thread Urs Liska
No idea anybody? Am 20.09.2013 11:08, schrieb Urs Liska: Hi, I would like LilyPond to insert a style file depending on the presence of a command line switch. Inserting the following into init.ly #(if (ly:get-option 'draft-mode) (ly:parser-include-string parser \\include

Where/when does LilyPond handle #(ly:set-option) commands?

2013-09-20 Thread Urs Liska
Hi, I would like LilyPond to insert a style file depending on the presence of a command line switch. Inserting the following into init.ly #(if (ly:get-option 'draft-mode) (ly:parser-include-string parser \\include \draft-mode.ily\)) works when I add the option to the command line