From 7921058bfd57a82687bf7788d5cbfdb83aa7b9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Fri, 6 Jan 2023 23:07:33 +0100 Subject: [PATCH] Fix #11099 (shadowrule legacy sphinxsetup key vanished at 5.1.0) --- CHANGES | 2 ++ sphinx/texinputs/sphinx.sty | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1de9cb7ccd0..c32b0f6160b 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,8 @@ Release 6.1.2 (in development) Bugs fixed ---------- +* #11099: LaTeX: shadowrule key of sphinxsetup causes PDF build to crash + since Sphinx 5.1.0 * #11096: LaTeX: shadowsize key of sphinxsetup causes PDF build to crash since Sphinx 5.1.0 * #11095: LaTeX: shadow of :dudir:`topic` and contents_ boxes not in page diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index d7a92d61600..cd3c30c505f 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -436,7 +436,7 @@ will be set to white}% \let\spx@topic@border@bottom\spx@topic@border@top \let\spx@topic@border@left \spx@topic@border@top \expandafter\let\expandafter\KV@sphinx@shadowrule - \csname KV@sphinx@topic_border-width\endcsname + \csname KV@sphinx@div.topic_border-width\endcsname \newif\ifspx@topic@border@open % defaults to false (legacy) \define@key{sphinx}{div.topic_box-decoration-break}% {\begingroup\edef\spx@tempa{#1}\expandafter\endgroup