[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 1773 in lilypond: Add Footnote_engraver to Staff context
From: |
address@hidden |
Subject: |
Re: Issue 1773 in lilypond: Add Footnote_engraver to Staff context |
Date: |
Fri, 22 Jul 2011 10:00:26 +0200 |
On Jul 22, 2011, at 9:57 AM, address@hidden wrote:
> Status: Accepted
> Owner: ----
> Labels: Type-Enhancement Priority-Low
>
> New issue 1773 by address@hidden: Add Footnote_engraver to Staff context
> http://code.google.com/p/lilypond/issues/detail?id=1773
>
> This came out of the third draft of a patch I did in
>
> http://codereview.appspot.com/4751045/
>
> For some grobs, the \footnoteGrob command needs the Staff context to be
> explicitly set. This is a bit awkward frankly and I think, more often than
> not, when using footnotes staff context are going to be needed for this
> engraver..
>
> Currently this is only (AFAICT) in the Voice context, I asked generally on
> the thread above if it could be added into the Staff context *as well* and
> Neil Puttock said:
>
> --snip--
>
> There are several engravers which exist in multiple contexts (e.g.,
> Parenthesis_engraver). I haven't checked, but it seems to me that
> adding the Footnote_engraver to the Staff context should be harmless
> for Voice-level footnotes.
>
> Cheers,
> Neil
>
The Footnote_engraver has an acknowledge_grob. Does this take more execution
time than, say, acknowledge_rest? If so, how much? I think that adding this
engraver to the Staff context as a default should only be done if doesn't slow
LilyPond down appreciably: otherwise, users can just add it themselves with a
\with { } block.
Cheers,
MS