Closed adunning closed 3 years ago
I also tried using the footnotehyper
package and savenotes
environment, which doesn't work but might help diagnose the problem. I suspect it is related to #1494:
\documentclass{article}
\usepackage{gregoriotex}
\usepackage{footnotehyper}
\begin{document}
\begin{savenotes}
\gabcsnippet{(c4) Mi(g)se<v>\footnote{test footnote 1}</v>(g)re(hv)re.<v>\footnote{test footnote 2}</v>(gf) (::)}
\end{savenotes}
\end{document}
For anyone in the future who might similarly be trying to add commentary to a Gregorio score, endnotes at least are possible with the enotez
package:
\documentclass{article}
\usepackage{gregoriotex}
\usepackage{enotez}
\begin{document}
\gabcsnippet{(c4) Test.<v>\endnote{test1}</v>(f) Test.<v>\endnote{test2}</v>(f)}
\printendnotes
\end{document}
This is probably due to the fact that text in the lyrics is put in boxes and processed multiple times in order to get the spacing correct. My advice would be to fake the footnote marks in the score and manually add the footnote text after it. I do not know of anyway to fix this.
Thank you at least for offering an assessment. Should this be closed as unfixable?
Good point.
The
\footnote
command produces a footnote reference in the correct position, but numbers are not generated in sequence, and the footnote itself does not display.The footnote text displays with a combination of
\footnotemark
and\footnotetext
, but this still does not increment the sequence correctly.