mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
parent
43276dcbac
commit
a51331c4b7
@ -39,6 +39,9 @@ Bugs fixed
|
|||||||
Patch by Matthias Geier.
|
Patch by Matthias Geier.
|
||||||
* #12224: Properly detect WebP files.
|
* #12224: Properly detect WebP files.
|
||||||
Patch by Benjamin Cabé.
|
Patch by Benjamin Cabé.
|
||||||
|
* #12380: LaTeX: Footnote mark sometimes indicates ``Page N`` where ``N`` is
|
||||||
|
the current page number and the footnote does appear on that same page.
|
||||||
|
Patch by Jean-François B.
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{sphinxpackagefootnote}%
|
\ProvidesPackage{sphinxpackagefootnote}%
|
||||||
[2022/08/15 v5.3.0 Sphinx custom footnotehyper package (Sphinx team)]
|
[2024/05/17 v7.3.x Sphinx custom footnotehyper package (Sphinx team)]
|
||||||
%%
|
%%
|
||||||
%% Package: sphinxpackagefootnote
|
%% Package: sphinxpackagefootnote
|
||||||
%% Version: based on footnotehyper.sty 2021/02/04 v1.1d
|
%% Version: based on footnotehyper.sty 2021/02/04 v1.1d
|
||||||
@ -409,9 +409,10 @@
|
|||||||
{\gdef\@thefnmark{?}% on first LaTeX run
|
{\gdef\@thefnmark{?}% on first LaTeX run
|
||||||
\refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
|
\refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
|
||||||
}%
|
}%
|
||||||
{\sphinx@xdef@thefnmark{#1}% also defines \spx@footrefHref
|
{\def\@makefnmark{% will be used by \H@@footnotemark
|
||||||
\def\@makefnmark{% will be used by \H@@footnotemark
|
|
||||||
\refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
|
\refstepcounter{sphinxfootnotemark}\label{footnotemark.\thesphinxfootnotemark}%
|
||||||
|
\sphinx@xdef@thefnmark{#1}% also defines \spx@footrefHref
|
||||||
|
% must be executed after \refstepcounter
|
||||||
\hyper@linkstart{link}{\spx@footrefHref}%
|
\hyper@linkstart{link}{\spx@footrefHref}%
|
||||||
\spx@saved@makefnmark
|
\spx@saved@makefnmark
|
||||||
\hyper@linkend
|
\hyper@linkend
|
||||||
|
Loading…
Reference in New Issue
Block a user