[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
relative include with ly:parser-parse-string
From: |
Urs Liska |
Subject: |
relative include with ly:parser-parse-string |
Date: |
Tue, 31 May 2016 09:15:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
Hi all,
I need to do a relative include with ly:parser-parse-string. But
regardless whether I use an \include string or retrieve the file through
ly:gulp-file LilyPond uses the search path to look up the target file.
The 'relative-includes option doesn't have any effect on this obviously.
So is there:
a) a way to perform a relative include from ly:parser-parse-string or
b) a way to determine the absolute path to the file where the current
code is read from (not the *location*)?
The current code in place is
(ly:parser-parse-string (ly:parser-clone) "\\include
\"internal/os-path.ily\"")
Thanks for any pointers
Urs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- relative include with ly:parser-parse-string,
Urs Liska <=