[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2929 in lilypond: Patch: Allow \tweak to act a
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2929 in lilypond: Patch: Allow \tweak to act as a stand-in for \once\override |
Date: |
Wed, 31 Oct 2012 05:24:17 +0000 |
Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_6
Comment #6 on issue 2929 by address@hidden: Patch: Allow \tweak to act as a
stand-in for \once\override
http://code.google.com/p/lilypond/issues/detail?id=2929
Pushed to staging as
commit 1f2825d8fb8135c0f22dd954e0069db1d6d41c64
Author: David Kastrup <address@hidden>
Date: Thu Oct 25 14:48:46 2012 +0200
Let \footnote and \shape rely on \tweak for overrides
commit 6e0f8d53951bfad582204df9a85a776463ac6614
Author: David Kastrup <address@hidden>
Date: Thu Oct 25 14:46:15 2012 +0200
Issue 2929: Allow \tweak to act as a stand-in for \once\override
Making tweak optionally accept a grob specification instead of music
to tweak makes it compatible with the behavior of functions such as
\footnote and \shape, and actually serves to simplify their
implementation.
One slight complication occurs in lyrics mode, as demonstrated by the
change necessary to input/regression/lyric-tweak.ly: with
\tweak color #red reddish fish,
LilyPond tries an override for a grob named "reddish" and fails.
Tweaks in lyrics mode are highly unusual, have not been supported for
long, and their effect can usually better be accomplished in markup
mode instead. The fix here is to write
\tweak color #red \markup reddish fish,
since LilyPond does not consider explicit markup a candidate for
conversion into symbols. The same problem is inherent with other
commands using the same kind of symbol-list-or-music? interface, like
\footnote, \hide, \omit.