From af4015a788469511415fd73cb3ba0857a033a522 Mon Sep 17 00:00:00 2001 From: jfbu Date: Tue, 2 Feb 2021 19:08:13 +0100 Subject: [PATCH] Fix lost LaTeX in merge --- sphinx/texinputs/sphinxlatexgraphics.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/texinputs/sphinxlatexgraphics.sty b/sphinx/texinputs/sphinxlatexgraphics.sty index d3e38b02d4..908ca36967 100644 --- a/sphinx/texinputs/sphinxlatexgraphics.sty +++ b/sphinx/texinputs/sphinxlatexgraphics.sty @@ -40,7 +40,7 @@ \AtBeginDocument{\spx@image@maxheight\textheight} % box scratch register -\newdimen\spx@image@box +\newbox\spx@image@box \newcommand*{\sphinxsafeincludegraphics}[2][]{% % #1 contains possibly width=, height=, but no scale= since 1.8.4 \setbox\spx@image@box\hbox{\includegraphics[#1,draft]{#2}}%