lilypond-devel
[Top][All Lists]
Advanced

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

Re: Let \footnote do the job of \footnote, \footnoteGrob, \autoFootnote


From: David Kastrup
Subject: Re: Let \footnote do the job of \footnote, \footnoteGrob, \autoFootnote and \autoFootnoteGrob (issue 5527058)
Date: Tue, 10 Jan 2012 15:01:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

address@hidden writes:

>> Actually, one could juggle the order of arguments around such that
>> the optional arguments can't be confused with the next argument.
>> Like putting the footnote mark first, position next, Grob spec next,
>> footnote text last.  In that manner, you could leave off either Grob
>> spec or footnote mark without needing to say \default.  And even if
>> one writes \default for autonumbering, having it directly after the
>> command will look more like \mark.
>>
>
> This is a good idea - I should have done it this way from the get-go,
> but I had no clue about the whats/whys/wheres of \default.
>
> Is there any chance that this type of change could be written as a
> smart convert-ly rule?  Assuming that people don't use # for purposes
> other than indicating Scheme arguments in their footnote making,
> scanning a string for "#" should show where the arguments are and then
> they can be swapped around.

Well, scanning for \markup ... will be quite more of a challenge.
Another problem I see is coordinating the change with the equally-named
\footnote markup command.  I have to see how that is defined.

On the plus side, most user files will likely be using \autoFootnote.

-- 
David Kastrup




reply via email to

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