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
lilypond-user@gnu.org
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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to