Hi
I tried this now as a top level scheme construct,
#(if (file-exists? "somepath.ily") (#{
\include "somepath.ily"
#}))
But lilypond does not like it. Do I need a scheme function (even without
arguments)? Is including inside scheme possible?
I fear that any solution is probably more complex than just writing:
% For a stand alone version remove these lines ...
...
% ... until here.
and leave it to the user to care about it.
Thanks also for the suggestion of processing scripts around, but that's
not the question. I have them. I just wanted the score to be compilable
without.
Cheers,
Joram