Skip to content

Commit

Permalink
Fix sphinx-doc#11096 (LaTeX shadowsize regression at 5.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Jan 6, 2023
1 parent 77aaa86 commit de07a2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions sphinx/texinputs/sphinx.sty
Expand Up @@ -6,7 +6,7 @@
%

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{sphinx}[2023/01/03 v6.1.0 LaTeX package (Sphinx markup)]
\ProvidesPackage{sphinx}[2023/01/06 v6.1.2 LaTeX package (Sphinx markup)]

% provides \ltx@ifundefined
% (many packages load ltxcmds: graphicx does for pdftex and lualatex but
Expand Down Expand Up @@ -508,10 +508,10 @@ will be set to white}%
\edef\spx@topic@shadow@xoffset{\number\dimexpr#1\relax sp}%
\let\spx@topic@shadow@yoffset\spx@topic@shadow@xoffset
\ifdim\spx@topic@shadow@xoffset=\z@
\spx@topic@box@withshadowtrue
\spx@topic@withshadowfalse
\else
\spx@topic@box@withshadowfalse
\spx@topic@box@shadow@insetfalse
\spx@topic@withshadowtrue
\spx@topic@insetshadowfalse
\fi
}%
\definecolor{sphinxTopicBorderColor}{rgb}{0,0,0}
Expand Down
2 changes: 1 addition & 1 deletion sphinx/texinputs/sphinxlatexshadowbox.sty
@@ -1,7 +1,7 @@
%% TOPIC AND CONTENTS BOXES
%
% change this info string if making any custom modification
\ProvidesFile{sphinxlatexshadowbox.sty}[2022/07/03 sphinxShadowBox]
\ProvidesFile{sphinxlatexshadowbox.sty}[2023/01/06 sphinxShadowBox]

% Provides support for this output mark-up from Sphinx latex writer:
%
Expand Down

0 comments on commit de07a2e

Please sign in to comment.