Open fuhrmanator opened 2 years ago
Some notes as I looked into this a little:
Footnotes in captions pose a challenge since the footnote will have a tendency to be relocated with other places that use the caption text (e.g. list of figures).
Could use \protect
potentially though not sure that is actually desirable since it doesn't really address issues like the above
May need to create a caption minus the footnote for the list of figures and use a minipage to keep the footnote with the float.
It seems like after this, there is still likely to be issues with duplicate printing for long captions.
Great faq here: https://texfaq.org/FAQ-ftncapt
Bug description
When using a footnote inside a figure caption, Quarto crashes.
I'm converting a pandoc book to Quarto, and I was previously able to use a footnote inside a caption in Pandoc:
But it crashes when I try this in quarto, because (I suspect) the footnote is inside the caption (and maybe something's not being escaped properly?):
I'm running quarto on Windows 10.
Checklist
quarto check
in a terminal in your issue?