diff --git a/CHANGES b/CHANGES index cdd87488a8..cca11712e0 100644 --- a/CHANGES +++ b/CHANGES @@ -26,6 +26,8 @@ Bugs fixed * #10133: autodoc: Crashed when mocked module is used for type annotation * #10146: autodoc: :confval:`autodoc_default_options` does not support ``no-value`` option +* #9529: LaTeX: named auto numbered footnote (ex. ``[#named]``) that is referred + multiple times was rendered to a question mark * #10122: sphinx-build: make.bat does not check the installation of sphinx-build command before showing help diff --git a/sphinx/builders/latex/transforms.py b/sphinx/builders/latex/transforms.py index b12882df68..621c6a7cf4 100644 --- a/sphinx/builders/latex/transforms.py +++ b/sphinx/builders/latex/transforms.py @@ -237,7 +237,8 @@ class LaTeXFootnoteTransform(SphinxPostTransform): blah blah blah ... * Replace second and subsequent footnote references which refers same footnote definition - by footnotemark node. + by footnotemark node. Additionally, the footnote definition node is marked as + "referred". Before:: @@ -258,7 +259,7 @@ class LaTeXFootnoteTransform(SphinxPostTransform): After:: blah blah blah - +