From 5125ae8316d54fa4796bee78a9705a9022542f5e Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Fri, 11 Feb 2022 13:07:11 +0900 Subject: [PATCH] latex: Update description of \sphinxexplicit --- sphinx/texinputs/sphinx.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 4d42199a7..6c9f1606e 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -300,9 +300,9 @@ % Support scopes for footnote numbering \newcounter{sphinxscope} \newcommand{\sphinxstepscope}{\stepcounter{sphinxscope}} -% Explicitly numbered footnotes may be referred to, and for this to be -% clickable we need to have only one target. So we will step this at each -% explicit footnote and let \thesphinxscope take it into account +% Some footnotes are multiply referred-to. For unique hypertarget in pdf, +% we need an additional counter. It is called "sphinxexplicit" for legacy +% reasons as "explicitly" numbered footnotes may be multiply referred-to. \newcounter{sphinxexplicit} \newcommand{\sphinxstepexplicit}{\stepcounter{sphinxexplicit}} % Some babel/polyglossia languages fiddle with \@arabic, so let's be extra