lilypond-user
[Top][All Lists]
Advanced

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

Re: put footnote in a variable


From: Gianmaria Lari
Subject: Re: put footnote in a variable
Date: Thu, 1 Nov 2018 10:59:52 +0100

Ahem.... I found another issue Aaron.

Suppose you have a variable containing the music and the reference to your footnote code. Something like this: 

var = {a b c d \myfootnote e f g a}

If you 'use' the variable multiple time in your score you probably don't want to display the footnote multiple times. So if you write

{ \var \var \var }

you probably want just one footnote.

So I tried to write

var = {a b c d \tag #'footnotetag {} e f g a}

and then...

{\pushToTag #'footnotetag \myfootnote \var \var \var}

but this does not compile.
Does exists a simple workaround to make it working? (I made different experiments without success). If there is no simple solution, no problem, don't waste your time. Consider this just a curiosity. Thanks a lot, gianmaria

reply via email to

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