[Top][All Lists]

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

Re: [Lilypond-auto] Issue 2536 in lilypond: Patch: Make \footnote work v

From: lilypond
Subject: Re: [Lilypond-auto] Issue 2536 in lilypond: Patch: Make \footnote work via \tweak
Date: Fri, 25 May 2012 10:05:53 +0000

Comment #26 on issue 2536 by address@hidden: Patch: Make \footnote work via \tweak

As a postscriptum: the syntax currently is more or less:

\footnote ["mark"] offset [#'Grob] "footnote text" [music]

With a non-greedy approach to argument matching regarding multiple arguments of the same kind, one could make this

\footnote [Grob] offset ["mark"] "footnote text" [music]

a much, much more natural syntax. With the greedy approach, an optional argument before an argument of the same type does not make sense. While it would appear that one can effectively do this as

\footnote [Grob] offset "mark-or-text" ["text-when-mark"] [music]

instead, optional arguments at the end of an argument list are not really optional unless you explicitly write \default, and a single \default exhausts any _consecutive_ optional arguments, so there would be no way to _not_ have a mark, but still have music.

So this is definitely an improvement that would be worthwhile to make once the parser is in a state making it feasible.

reply via email to

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