Menu

#503 LaTeX writer fails to generate "labels" for some elements with "ids".

open
nobody
None
5
2025-06-04
2025-06-04
No

Most doctree elements (nodes) accept the "ids" attribute that can be used as end-point for internal cross references.
In LaTeX, "ids" are represented as "labels". This is only implemented for a small subset of elements.
For example the internal hyperlink in

.. note::
   :name: my-note

   This is an admonition with ID

Link to my-note_. 

does not work because there is no \label{my-note} in the LaTeX output.

See also Sphinx issue #13609.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.