From 428097f305f7db765fc92e2bb80d2078afabd5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Sun, 12 Mar 2023 14:01:09 +0100 Subject: [PATCH] LaTeX: fix breakage at 4de9d4604 from misuse of \pagecolor This is a one-argument command to set the page colour, not a toggle to use the page colour! --- sphinx/texinputs/sphinxpackageboxes.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/texinputs/sphinxpackageboxes.sty b/sphinx/texinputs/sphinxpackageboxes.sty index 0abfa2a89..da9b4d68e 100644 --- a/sphinx/texinputs/sphinxpackageboxes.sty +++ b/sphinx/texinputs/sphinxpackageboxes.sty @@ -609,7 +609,7 @@ 0.5\spx@boxes@border-\spx@boxes@shadow@yoffset\relax) {\spx@boxes@borderpath\fillpath}% {\ifspx@boxes@withbackgroundcolor\else - \pagecolor% was using \color{white} prior to 6.2.0 + \color{white}% \spx@boxes@borderpath\fillpath \fi}% }%