lilypond-devel
[Top][All Lists]
Advanced

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

Re: Add tab-tie-follow-engraver (issue2723043)


From: Marc Hohl
Subject: Re: Add tab-tie-follow-engraver (issue2723043)
Date: Sat, 13 Nov 2010 20:00:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

Am 13.11.2010 15:29, schrieb Carl Sorensen:
On 11/13/10 3:18 AM, "Marc Hohl"<address@hidden>  wrote:

Am 13.11.2010 06:21, schrieb address@hidden:
I can think of no way to simplify this code further.  If you have any
ideas I'd be happy to hear them.
There was the idea to include this into the Tab_note_heads_engraver, and
if it were
possible to include the parenthesize stuff into that engraver as well,
it would

a) simplify the callbacks
b) solve the problem about the harmonic brackets

Is it possible to detect the tie/slur/glissando cases within the
engraver and call a
routine to parenthesize the fret number? Then the resulting grob is a
compound object that
gets its angle brackets displayed correctly without fiddling with
padding and stuff.
It may be possible to include the tie/slur/glissando in the
tab_note_heads_engraver, but I haven't yet been able to get it to work
properly.

However, we can't do the whole display-cautionary thing in the engraver,
because the engraver doesn't know about such things as split ties.  That has
to be dealt with in the tab note head callback.
Yes, I know, because the line breaking happens at a time when
the engravers have already done their job, IIUC.
The problem with the harmonic brackets is orthogonal to this problem.  I
started work on it, but I have to sort out the various parenthesize
functions before I know how to fully deal with it.  It's on my list, but I
want to get this one resolved first.
Yes, of course.
I am not sure whether it is possible at all to include all the stuff into the
tab note head engraver, but I think it would be more homogenic to handle
the tab note head appearance by engravers as far as possible without
callback patchwork.

Marc

Thanks,

Carl






reply via email to

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