Skip to content

Alternating multiply referred footnotes produce a ? in pdf output #10188

@jfbu

Description

@jfbu

Describe the bug

In some circumstances footnote mark is rendered as ? and there is no hyperlink

How to Reproduce

file index.rst:

Test
====

Explicitly numbered footnotes
-----------------------------

First reference to first footnote [1]_ 

First reference to second footnote [2]_

Second reference to first footnote [1]_

Second reference to second footnote [2]_


.. rubric:: Footnotes

.. [1] A first footnote

.. [2] A second footnote

then make latexpdf.

Expected behavior

Footnotes are rendered correctly

Your project

See above code

Screenshots

Capture d’écran 2022-02-13 à 09 32 11

OS

Mac

Python version

3.8.7 (CPython)

Sphinx version

4.4.0 and current 4.x (v4.5.0+/4ba056870)

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions