[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
- try except in lilypond, Noeck, 2016/11/19
- RE: try except in lilypond, Mike Solomon, 2016/11/19
- Re: try except in lilypond, Andrew Bernard, 2016/11/19
- Re: try except in lilypond, David Kastrup, 2016/11/19
- RE: try except in lilypond, Andrew Bernard, 2016/11/19
- Re: try except in lilypond, Noeck, 2016/11/19
- Re: try except in lilypond, Urs Liska, 2016/11/19
- Re: try except in lilypond, Noeck, 2016/11/20
- Re: try except in lilypond, Timothy Lanfear, 2016/11/20
- Re: try except in lilypond,
Noeck <=
- Re: try except in lilypond, Timothy Lanfear, 2016/11/20
- Re: try except in lilypond, Noeck, 2016/11/20
- Re: try except in lilypond, Urs Liska, 2016/11/20