[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 3942: Scale slurs and ties when using \magnifyMusic. (issue 10
From: |
David Kastrup |
Subject: |
Re: Issue 3942: Scale slurs and ties when using \magnifyMusic. (issue 103890046 by address@hidden) |
Date: |
Sun, 15 Jun 2014 07:15:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
address@hidden writes:
> On 2014/06/14 06:58:52, dak wrote:
>>> On 2014/06/06 09:29:03, Mark Polesky wrote:
>>> ... Ideally, if the user has already
>>> modified some of those values, I'd like to base the new scaled values
> on
>>> the user's choices, and not base them on the LilyPond default values.
>>> If that's possible at all, I don't know how to do that.
>
>> If you do a read-modify-write on properties, you have to use
> \applyMusic
>> for that.
>
> David,
> I'm sorry to say that I'm unable to figure this out on my own.
> \applyMusic is completely undocumented and the few occurrences in the
> source code are not illustrative enough for me. Within an \applyMusic
> construct, how do I access a given grob-property value, and then
> override it -- temporarily?
It would have helped if I had written the correct command to use. It
is, of course, \applyContext.
The documentation does not help much, but one illustrative
read/modify/write use is in scm/music-functions.scm in
add-grace-property and remove-grace-property.
> https://codereview.appspot.com/103890046/
--
David Kastrup