Skip to content

Commit b5ba1ed

Browse files
committed
s/5.2.0/5.3.0 in various code comments as #10759 got merged in 5.3.0
1 parent 3deb527 commit b5ba1ed

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

Diff for: doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
{\begin{sphinxtheindex}\end{sphinxtheindex}}
7979
''',
8080
'sphinxsetup': """%
81-
VerbatimColor=black!5,% tests 5.2.0 extended syntax
81+
VerbatimColor=black!5,% tests 5.3.0 extended syntax
8282
VerbatimBorderColor={RGB}{32,32,32},%
8383
pre_border-radius=3pt,%
8484
pre_box-decoration-break=slice,%

Diff for: doc/latex.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ Do not use quotes to enclose values, whether numerical or strings.
840840

841841
.. _xcolor: https://ctan.org/pkg/xcolor
842842

843-
.. versionchanged:: 5.2.0
843+
.. versionchanged:: 5.3.0
844844
Formerly only the ``\definecolor`` syntax was accepted.
845845

846846
``TitleColor``
@@ -896,7 +896,7 @@ Do not use quotes to enclose values, whether numerical or strings.
896896
There is also ``TableMergeColorHeader``. If used, sets a specific colour
897897
for merged single-row cells in the header.
898898

899-
.. versionadded:: 5.2.0
899+
.. versionadded:: 5.3.0
900900

901901
``TableRowColorOdd``
902902
Sets the background colour for odd rows in tables (the row count starts at
@@ -908,7 +908,7 @@ Do not use quotes to enclose values, whether numerical or strings.
908908

909909
There is also ``TableMergeColorOdd``.
910910

911-
.. versionadded:: 5.2.0
911+
.. versionadded:: 5.3.0
912912

913913
``TableRowColorEven``
914914
Sets the background colour for even rows in tables.
@@ -917,7 +917,7 @@ Do not use quotes to enclose values, whether numerical or strings.
917917

918918
There is also ``TableMergeColorEven``.
919919

920-
.. versionadded:: 5.2.0
920+
.. versionadded:: 5.3.0
921921

922922
``verbatimsep``
923923
The separation between code lines and the frame.

Diff for: doc/usage/configuration.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2256,7 +2256,7 @@ These options influence LaTeX output.
22562256

22572257
Default: ``[]``
22582258

2259-
.. versionadded:: 5.2.0
2259+
.. versionadded:: 5.3.0
22602260

22612261
If using ``'booktabs'`` or ``'borderless'`` it seems recommended to also
22622262
opt for ``'colorrows'``...
@@ -2322,7 +2322,7 @@ These options influence LaTeX output.
23222322
to add ``r'\usepackage{booktabs}'`` to the LaTeX preamble.
23232323

23242324
On the other hand one can use ``colorrows`` class for individual tables
2325-
with no extra package (as Sphinx since 5.2.0 always loads colortbl_).
2325+
with no extra package (as Sphinx since 5.3.0 always loads colortbl_).
23262326

23272327
.. _booktabs: https://ctan.org/pkg/booktabs
23282328
.. _colortbl: https://ctan.org/pkg/colortbl

Diff for: sphinx/texinputs/sphinx.sty

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
%
77

88
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
9-
\ProvidesPackage{sphinx}[2022/08/15 v5.2.0 LaTeX package (Sphinx markup)]
9+
\ProvidesPackage{sphinx}[2022/08/15 v5.3.0 LaTeX package (Sphinx markup)]
1010

1111
% provides \ltx@ifundefined
1212
% (many packages load ltxcmds: graphicx does for pdftex and lualatex but
@@ -90,7 +90,7 @@
9090
{\expandafter\let\csname\@backslashchar color@#1\expandafter\endcsname
9191
\csname\@backslashchar color@#2\endcsname }
9292

93-
% (5.2.0) allow colour options to use both the \definecolor and the \colorlet
93+
% (5.3.0) allow colour options to use both the \definecolor and the \colorlet
9494
% syntaxes, for example VerbatimColor={gray}{0.9} or VerbatimColor=red!10
9595
% In the latter case we need the real \colorlet from xcolor package.
9696
\def\spx@defineorletcolor#1{%

Diff for: sphinx/texinputs/sphinxlatextables.sty

+9-9
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
% \spx@arrayrulewidth is used internally and its meaning will be set according
6969
% to the table type; no extra user code should modify it. In particular any
7070
% \setlength{\spx@arrayrulewidth}{...} may break all of LaTeX... (really...)
71-
\def\spx@arrayrulewidth{\arrayrulewidth}% 5.2.0, to be adjusted by each table
71+
\def\spx@arrayrulewidth{\arrayrulewidth}% 5.3.0, to be adjusted by each table
7272
% using here T (for Tabulary) feels less of a problem than the X could be
7373
\newcolumntype{T}{J}%
7474
% For tables allowing pagebreaks
@@ -193,7 +193,7 @@
193193
% NOTA BENE: since the multicolumn and multirow code was written Sphinx
194194
% decided to prefix non public internal macros by \spx@ and in fact all
195195
% such macros here should now be prefixed by \spx@table@, but doing the
196-
% update is delayed to later. (written at 5.2.0)
196+
% update is delayed to later. (written at 5.3.0)
197197

198198
%%%%%%%%%%%%%%%%%%%%%
199199
% --- MULTICOLUMN ---
@@ -236,7 +236,7 @@
236236
% \arrayrulewidth space for each column separation in its estimate of available
237237
% width).
238238
%
239-
% Update at 5.2.0: code uses \spx@arrayrulewidth which is kept in sync with the
239+
% Update at 5.3.0: code uses \spx@arrayrulewidth which is kept in sync with the
240240
% table column specification (aka preamble):
241241
% - no | in preamble: \spx@arrayrulewidth -> \z@
242242
% - at least a | in the preamble: \spx@arrayrulewidth -> \arrayrulewidth
@@ -267,7 +267,7 @@
267267
% Sphinx generates no nested tables, and if some LaTeX macro uses internally a
268268
% tabular this will not have a \sphinxstartmulticolumn within it!
269269
%
270-
% 5.2.0 adds a check for multirow as single-row multi-column will allow a row
270+
% 5.3.0 adds a check for multirow as single-row multi-column will allow a row
271271
% colour but multi-row multi-column should not.
272272
% Attention that this assumes \sphinxstartmulticolumn is always followed
273273
% in latex mark-up either by \sphinxmultirow or \begin (from \begin{varwidth}).
@@ -431,13 +431,13 @@
431431
% to row color for the duration of the Sphinx multicolumn... the (provisional?)
432432
% choice has been made to cancel the colortbl colours for the multicolumn
433433
% duration.
434-
% Sphinx 5.2.0 comment:
434+
% Sphinx 5.3.0 comment:
435435
% - colortbl has no mechanism to disable colour background in a given cell:
436436
% \cellcolor triggers one more \color, but has no possibility to revert
437437
% a previously emitted \color, only to override it via an additional \color
438-
% - prior to <5.2.0, Sphinx did not officially support colour in tables,
438+
% - prior to 5.3.0, Sphinx did not officially support colour in tables,
439439
% but it did have a mechanism to protect merged cells from being partly
440-
% covered by colour panels at various places. At 5.2.0 this mechanism
440+
% covered by colour panels at various places. At 5.3.0 this mechanism
441441
% is relaxed a bit to allow row colour for a single-row merged cell.
442442
%
443443
% fixcolorpanel
@@ -480,7 +480,7 @@
480480
}
481481
\def\spx@CT@setup@nocolor#1\endgroup{%
482482
\global\let\CT@cell@color\relax
483-
% the above fix was added at 5.2.0
483+
% the above fix was added at 5.3.0
484484
% formerly a \cellcolor added by a raw latex directive in the merged cell
485485
% would have caused colour to apply to the *next* cell after the merged
486486
% one; we don't support \cellcolor from merged cells contents anyhow.
@@ -551,7 +551,7 @@
551551
% The colour issue is "solved" by clearing colour panels in all cells,
552552
% whether or not the multirow is single-column or multi-column.
553553
%
554-
% MEMO at 5.2.0: to allow a multirow cell in a single column to react to
554+
% MEMO at 5.3.0: to allow a multirow cell in a single column to react to
555555
% \columncolor correctly, it seems only way is that the contents
556556
% are inserted by bottom cell (this is mentioned in multirow.sty doc, too).
557557
% Sphinx could at Python level "move" the contents to that cell. But the

Diff for: sphinx/texinputs/sphinxpackagefootnote.sty

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
\NeedsTeXFormat{LaTeX2e}
22
\ProvidesPackage{sphinxpackagefootnote}%
3-
[2022/08/15 v5.2.0 Sphinx custom footnotehyper package (Sphinx team)]
3+
[2022/08/15 v5.3.0 Sphinx custom footnotehyper package (Sphinx team)]
44
%%
55
%% Package: sphinxpackagefootnote
66
%% Version: based on footnotehyper.sty 2021/02/04 v1.1d

0 commit comments

Comments
 (0)