Hi Timothy,

> (if (access? "somepath.ily" R_OK)
>    (ly:parser-include-string "\\include \"somepath.ily\""))


Thanks a lot! That works.

One follow-up problem is, that the include path is found via the -I
command line option. So somepath.ily does not exist (relative to where I
execute lilypond) but still \include somepath.ily would work.

Can I look for files in the included directories with scheme? Or can I
get the includepath names to search there myself?

Cheers,
Joram

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to