lilypond-user
[Top][All Lists]
Advanced

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

ly:parser-parse-string and relative includes


From: Urs Liska
Subject: ly:parser-parse-string and relative includes
Date: Tue, 16 Dec 2014 09:55:15 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi all,

am I right that including a file through

(ly:parser-parse-string (ly:parser-clone parser) "
           \\include \"12.ily\"")

is different from directly including it through \include
in that the way through ly:parser-parse-string doesn't use relative includes?

That means in the example "12.ily" would be searched in the directory of the *originally compiled* file and in the directories in the include path, but not in the directory of the file from where ly:parser-parse-string is called.

Any hints?

TIA
Urs



reply via email to

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