[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \ottava without bracket
From: |
David Nalesnik |
Subject: |
Re: \ottava without bracket |
Date: |
Wed, 1 Mar 2017 11:08:29 -0600 |
On 2/28/17, David Nalesnik <address@hidden> wrote:
> Hi Harm,
>
> On Tue, Feb 28, 2017 at 1:02 PM, Thomas Morley <address@hidden>
> wrote:
>> 2017-02-28 16:09 GMT+00:00 David Nalesnik <address@hidden>:
>>> Hi Andrew,
>>>
>>> On Mon, Feb 27, 2017 at 6:52 PM, Andrew Bernard
>>> <address@hidden> wrote:
>>>> Hi David,
>>>>
>>>> This is excellent and useful. Also works, of course, when using
>>>> something
>>>> like \set Staff.ottavation = "8".
>>>>
>>>> Why not make this a snippet in LSR?
>>>>
>>>
>>> Sure, I will look it at some more, and submit.
>>>
>>> Ideally, I'd like to add something to the codebase.
>>>
>>> Best,
>>> David
>>
>>
>> Hi David,
>>
>> I was working on a patch introducing ottavaText as a context-property.
>> Maybe we could coordinate or at least avoid doing work twice.
>
> I don't think this would conflict with anything I may try. I'd just
> be modifying the print function.
>>
>> I'll attach what I've done so far.
>> It's not finished yet: I'd like to polish it and add entries in NR and
>> Changes, probably worth a regtest as well.
>>
>
> Sure, go ahead! It will be much more convenient storing texts in a
> context property.
>
> There's a comment in lily/ottava-bracket.cc about the desirability of
> being able to switch between longer and shorter texts based on
> available space: Maybe that could be part of the overall plan.
>
Harm,
I've attached the sort of patch I have in mind. (Regtests and changes
entry needed as well.)
There's an example file to show how it works, including at line breaks.
I don't think this would interfere with your work, but let me know otherwise!
Best,
David
0001-Hide-brackets-on-single-note-ottavas.patch
Description: Text Data
ottava-test.ly
Description: Text Data
- Re: \ottava without bracket,
David Nalesnik <=