Skip to content

Commit b6b01c2

Browse files
authored
LaTeX: fix a 7.4.0 typo in a default for \sphinxboxsetup (#13152)
1 parent 3af4852 commit b6b01c2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Bugs fixed
2323

2424
* #13060: HTML Search: use ``Map`` to store per-file term scores.
2525
Patch by James Addison
26+
* LaTeX: fix a ``7.4.0`` typo in a default for ``\sphinxboxsetup``
27+
(refs: PR #13152).
28+
Patch by Jean-François B.
2629

2730
Testing
2831
-------

sphinx/texinputs/sphinx.sty

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
% by the Sphinx LaTeX writer.
1010

1111
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
12-
\ProvidesPackage{sphinx}[2024/10/11 v8.1.1 Sphinx LaTeX package (sphinx-doc)]
12+
\ProvidesPackage{sphinx}[2024/11/23 v8.2.0 Sphinx LaTeX package (sphinx-doc)]
1313

1414
% provides \ltx@ifundefined
1515
% (many packages load ltxcmds: graphicx does for pdftex and lualatex but
@@ -1098,12 +1098,13 @@
10981098
% Some of these defaults got already set. But we now list them all explicitly
10991099
% for a complete initial configuration of reset storage.
11001100
% At 7.4.0, \fboxrule and \fboxsep replaced by 0.4pt and 3pt which are anyhow
1101-
% the defaults for these LaTeX dimensions.
1101+
% the defaults for these LaTeX dimensions. 8.2.0 corrected border-radius
1102+
% default back to 3pt (\fboxsep) not 0.4pt (\fboxrule).
11021103
\let\spx@boxes@sphinxbox@defaults\@gobble
11031104
\sphinxboxsetup{%
11041105
border-width=0.4pt,
11051106
padding=3pt,
1106-
border-radius=0.4pt,
1107+
border-radius=3pt,
11071108
box-shadow=none,
11081109
% MEMO: as xcolor is loaded, \spx@defineorletcolor has a "\colorlet" branch
11091110
% which makes this syntax acceptable and avoids duplicating here the values.

0 commit comments

Comments
 (0)