[Top][All Lists]

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

Re: R\fermata: How to build a markup in C++?

From: Malte Meyn
Subject: Re: R\fermata: How to build a markup in C++?
Date: Tue, 16 Apr 2019 19:06:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Am 16.04.19 um 14:50 schrieb Malte Meyn:

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/

Those who are interested can find the current approach attached.

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?
Can one get the context from the MultiMeasureRestEvent?

Attachment: 0001-WIP-Scheme-version-uses-default-script-alist.-No.patch.txt
Description: Text document

reply via email to

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