Open bryanhanson opened 3 months ago
Thanks for the report.
The following is enought:
---
author: "Yang Hu ^[Retired]"
---
I believe this use of footnot in author
has some conflict with the author schema.
This will be hard to solve. The issue here is that some content causes "side effects" in the document. Footnotes, for example, cause "a new footnote to appear". We copy the contents of the author
field (and probably authors), and as a result, we end up with multiple instances of ^[Retired]
.
The problem, of course, is that there's no way for us to know, in general, what parts of the metadata have "side effects", so we can't know what to remove in what context.
Bug description
I discovered this on my own but then found that someone else had come across it as well. There is a
lua
filter workaround given at that link, but I wonder if this should be handled automatically.Steps to reproduce
From the command line, do
quarto render test.qmd
with the following file:Here's the example from the link modified slightly:
Expected behavior
Footnotes from yaml front matter should not appear in triplicate and be numbered correctly.
Actual behavior
Here's the result.
Your environment
quarto-cli
pre-release from a few hours agoQuarto check output