Thank you for your assistance and that will work - except that the
footnotes will not appear on the same page as the rest to which they refer
(if the music is over more than one page).
Curiously, footnotes on a rest which is followed immediately by a note do
appear as desired:

\version "2.18.2"
{
  \time 4/4
  R1^\markup { Mahler text \super 1 }\footnote \markup "" #'(0 . 0) \markup
{ \tiny "1. This does not appear" }
  R1^\markup { Mahler text \super 2 }\footnote \markup "" #'(0 . 0) \markup
{ \tiny "2. This does appear" }
  c'1
}

Attaching the markup to an empty chord (<>) or an invisible grace note has
the same outcome. Perhaps I need to specify a time-based footnote with a
"[Context].GrobName" but I don't know what that Context or GrobName would
be.

Thanks,
Martin

On Thu, 9 Jul 2020 at 18:30, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Hi Martin,
> See: http://lsr.di.unimi.it/LSR/Item?id=918
> E.g.:
>
> \version "2.20.0"
> \markup { \footnote \null { \tiny "1. More fluent, but always moderate" } }
> {
>   \time 3/4
>   R2.*9^\markup { Fliessender, aber immer gemässigt \super 1 }
> }
>
> Cheers,
> Pierre
>
> PS. Please post small but complete (i.e. runnable) example including your
> version number.
>
> Le jeu. 9 juil. 2020 à 09:35, Martin Brown <mar...@martinbrown.id.au> a
> écrit :
>
>> Hello Lilypond residents,
>>
>> I would really like to be able to add footnotes to markup text applied to
>> rests (whole bars). I'm typesetting some Mahler and every second multi bars
>> rest has a long German string which I'd like to add the translation to as a
>> footnote (ideally with automatically incrementing footnote numbers).
>>
>> So something like:
>>
>> R2.*9^\markup { Fliessender, aber immer gemässigt \super 1 }\footnote
>> \markup "" #'(0 . 0) \markup { \tiny "1. More fluent, but always moderate" }
>>
>> From what I can see, this does not produce a footnote since a rest is not
>> an event-based footnote and what I need is a time-based footnote perhaps.
>> How would I encode that?
>>
>> Thanks!
>>
>

Reply via email to