You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YDX-2147483647
changed the title
Typst writer: A footnote can be referenced multiple times
Typst writer: A footnote should be able to be referenced multiple times
Feb 17, 2025
Once the markdown is parsed, the Pandoc structure does not allow us to distinguish between the case where there was just a single note marker used and the case where multiple note markers are used. We just have an inline element Notes [Block].
Changing this would require changing the Pandoc structure to have either
a block element Note Text [Block] and an inline element NoteRef Text, or less disruptively
an inline element Note Text [Block] where the Text part stores the marker.
Of course, any change to Pandoc is a breaking change through the whole ecosystem and requires code changes virtually everywhere. So this wouldn't be a simple fix.
Explain the problem.
If a footnote is referenced multiple times, it should be created only once, but the current implementation creates a new one for each reference.
Current output:
Expected output:
Pandoc version?
Relates-to: #8893
The text was updated successfully, but these errors were encountered: