[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging shapeII
From: |
David Kastrup |
Subject: |
Re: Debugging shapeII |
Date: |
Wed, 09 Sep 2015 15:36:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>
>> Simon Albrecht <address@hidden> writes:
>>
>>> Hello,
>>>
>>> I’m sorry I have to come again with a question concerning shapeII, and
>>> with a not very tiny example.
>>> Please have a look at the attachment:
>>> – The slur _before_ the revert (be it through \revert or synonymously
>>> through \tweak) is oddly displaced.
>>> – Using \shapeII (I think only the override-like form is affected)
>>> thoroughly confuses staff-staff-spacing, shifting the lower staff into
>>> the system below.
>>>
>>> I don’t quite know where to search…
>>
>> I suspect the same problem that has been plaguing \offset until
>>
>> commit 610d3aa70a430b620b7175fbe264a9f21eba4482
>> Author: David Kastrup <address@hidden>
>> Date: Wed Jul 22 13:58:18 2015 +0200
>>
>> Issue 4516: Make \offset handle unpure/pure containers
>>
>> I suspect that the \shape command in LilyPond as well as \shapeII
>> outside of LilyPond would require use of the technique employed in that
>> commit.
>
> Maybe one should refactor that code so that all of the trickery is
> encapsuled into one generic function, and the particular manipulation to
> do is passed as one argument to that function. That way, one could
> reuse all of the trickery for other manipulations.
I'm currently doing that and will likely use it in \shape if it's
obvious how to do that.
--
David Kastrup