lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: try except in lilypond


From: Noeck
Subject: Re: try except in lilypond
Date: Sun, 20 Nov 2016 17:35:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]