lilypond-user
[Top][All Lists]
Advanced

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

Re: Get current file


From: Urs Liska
Subject: Re: Get current file
Date: Tue, 03 Feb 2015 00:52:55 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 02.02.2015 um 18:46 schrieb MarcM:
i don't have the complete answer but just to get you started.
May be this will help.

currentWorkingDir.ly
<http://lilypond.1069038.n5.nabble.com/file/n171344/currentWorkingDir.ly>



unfortunately this doesn't help, it will only print the directory of the file that is *compiled*, and not that of the currently parsed (i.e. included) one.

But this kicked me to turn a half-baked workaround into a generic solution. It's surprisingly simple (see attached) :-)

Urs


--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Get-current-file-tp171234p171344.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



--
Urs Liska
www.openlilylib.org

Attachment: call.ly
Description: Text Data

Attachment: definition.ly
Description: Text Data


reply via email to

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