Skip to content

fix(footnotes): keep LaTeXML footnote bodies - #435

Open
RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/latexml-footnote-bodies
Open

RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/latexml-footnote-bodies

Conversation

@RovshanMuradov

@RovshanMuradov RovshanMuradov commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #433

LaTeXML (arXiv) keeps each footnote body in a hidden span.ltx_note_outer next to its marker, so the body was removed with the rest of the hidden markup. Each note is now replaced with a reference to its body.

On the GPT-4 technical report (https://arxiv.org/html/2303.08774) this restores the bodies of 11 distinct footnotes across 79 references (85 → 164 footnotes; the author-list note is repeated 68 times, as in the source). Also seen on https://arxiv.org/html/2609.38060v1 and https://arxiv.org/html/2609.29817v1#footnote2.

@RovshanMuradov
RovshanMuradov force-pushed the fix/latexml-footnote-bodies branch from c0023f1 to 898bce0 Compare October 12, 2026 16:52
@RovshanMuradov RovshanMuradov changed the title fix(footnotes): preserve owned LaTeXML note bodies fix(footnotes): keep LaTeXML footnote bodies Oct 12, 2026
@RovshanMuradov
RovshanMuradov force-pushed the fix/latexml-footnote-bodies branch from 898bce0 to 9110eb9 Compare October 12, 2026 17:43
arXiv LaTeXML footnotes keep their body in a hidden span.ltx_note_outer
next to the marker, which was removed with the rest of the hidden
markup. Replace each note with a reference to its body.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LaTeXML footnote cleanup discards the sole explanatory body

1 participant