lilypond-user
[Top][All Lists]
Advanced

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

Re: Name of a context


From: Urs Liska
Subject: Re: Name of a context
Date: Mon, 30 Mar 2015 00:44:11 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0



Am 30.03.2015 um 00:38 schrieb Nathan Ho:
Hi list,

How do I extract the name of a context in Scheme? That is, I want to
be able to get "foo" from, say, \new Voice = "foo". I don't see this
in the context properties lists.

Regards,
Nathan

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

I *think* this is (ly:context-id context).

See
https://github.com/openlilylib/openlilylib/blob/master/ly/scholarly/annotate/__main__.ily line 135-145 and see if you can make something of it. I have to admit I'm not sure about that although it's less than two months ago that I've written this ...

HTH
Urs

reply via email to

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