Re: [tablatures] tie bug in 2.13.10? |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
- To: Carl Sorensen <c_sorensen@xxxxxxx>
- Subject: Re: [tablatures] tie bug in 2.13.10?
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Wed, 13 Jan 2010 09:05:30 +0100
- Cc: Federico Bruni <brunology@xxxxxxx>, Trevor Daniels <t.daniels@xxxxxxxxxxx>, "tablatures@xxxxxxxxxxx" <tablatures@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1263369936; l=1294; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=Av4miwnWGsg9Qrnro4tUUnEzYQg=; b=yrC2C8jpRWDSHL6WIcr8rOZL5TeI7WHegiRrEJFqlwEWZET1ylrOXgulcYwBzn4I9KB deJ3cM18lj1jRxMN7T4HvQpOLF7XmPLWbAqx5SkPKKbikYwmm59Ec6F0bSQaiZSobz1Gh OmSgKCS/RDNQUET0Ty8YGcHKpGxMyscwBXE=
Carl Sorensen schrieb:
This seems to me to call for a new variable
hideTabNoteHead = {
\once \override TabNoteHead #'transparent = ##t
\once \override TabNoteHead #'whiteout = ##f
}
and to replace
\once \override TabNoteHead #'transparent = ##t
with
\hideTabNoteHead
This should go to ly/property-init then, right?
Should I create a patch? Has this to be documented somewhere
in the docs?
and every
(ly:grob-set-property! right-tab-note-head 'transparent #t)
should be followed by
(ly:grob-set-property! right-tab-note-head 'whiteout #f)
in bend.ly.
Similarly, we should have
(define (hide-tab-note-head note-head)
(ly:grob-set-property! note-head 'whiteout #f)
(ly:grob-set-property! note-head 'transparent #t))
and replace
(ly:grob-set-property! right-tab-note-head 'transparent #t)
with
(hide-tab-note-head right-tab-note-head)
On a related note, Marc, why do you want to use ly:grob-set-property!
instead of using an override function?
This is used in bend.ly, which has alpha status, and since we
want to do bends by a new engraver, I don't think it makes
sense to enhance this file.
Marc
Thanks,
Carl