mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-25 14:40:22 -05:00
This commit is contained in:
1 parent
62619bd5a2
commit
5b922b4ba9
2 files changed
+12
-4
No files matched your search
@@ -137,6 +137,9 @@ Bugs fixed
|
||||
* #14004: Fix :confval:`autodoc_type_aliases` when they appear in PEP 604
|
||||
union syntax (``Alias | Type``).
|
||||
Patch by Tamika Nomara.
|
||||
* #14059: LaTeX: Footnotes cause pdflatex error with French language
|
||||
(since August 2025 upstream change to LaTeX French support).
|
||||
Patch by Jean-François B.
|
||||
|
||||
|
||||
Testing
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{sphinxpackagefootnote}%
|
||||
[2024/05/17 v7.3.x Sphinx custom footnotehyper package (Sphinx team)]
|
||||
[2025/11/15 v8.3.0 Sphinx custom footnotehyper package (Sphinx team)]
|
||||
%%
|
||||
%% Package: sphinxpackagefootnote
|
||||
%% Version: based on footnotehyper.sty 2021/02/04 v1.1d
|
||||
@@ -19,11 +19,13 @@
|
||||
% - \sphinxfootnotemark[N]
|
||||
% where N is a number.
|
||||
%
|
||||
%% Some small differences from upstream footnotehyper.sty:
|
||||
%% Some small differences from footnotehyper.sty 2021/02/04 v1.1d:
|
||||
%% - a tabulary compatibility layer (partial but enough for Sphinx),
|
||||
%% - usage of \spx@opt@BeforeFootnote
|
||||
%% - usage of \sphinxunactivateextrasandspace from sphinx.sty,
|
||||
%% - \sphinxlongtablepatch
|
||||
%% - fix for a change of babel-french at its version 3.7e 2025-08-15
|
||||
%% (\localleftbox undefined with pdflatex/xelatex, issue #14059)
|
||||
%%
|
||||
%% Starting with Sphinx v4.5.0, inherited footnotehyper macros for
|
||||
%% footnote/footnotetext receive some Sphinx specific extras to
|
||||
@@ -274,8 +276,11 @@
|
||||
\fi
|
||||
}%
|
||||
\def\FNH@check{%
|
||||
\ifx\@makefntextFB\@undefined\expandafter\FNH@check@
|
||||
\else\expandafter\FNH@frenchb@
|
||||
\ifx\@makefntextFB\@undefined
|
||||
\expandafter\FNH@check@
|
||||
\else
|
||||
\providecommand\localleftbox[1]{}%
|
||||
\expandafter\FNH@frenchb@
|
||||
\fi
|
||||
}%
|
||||
\def\FNH@frenchb@{%
|
||||
|
||||
Reference in new issue
Block a user