Am 16.04.19 um 13:38 schrieb Neil Puttock:
Yeah.  You should be able to check for an articulation-event and
extract the type to build the markup.

Yes. The only thing that I’m not sure is how to get hold of the context that has the scriptDefinitions property. My current approach just uses default-script-alist (from scm/script.scm) which is made the default at ly/engraver-init.ly.

In C++ I used the function context () without knowing
• what this function does exactly
• where it is defined and
• why it worked.
But hey, it worked! So maybe there’s some similar magic in Scheme?

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to