diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-01-31 18:10:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-31 18:10:50 +0900 |
| commit | 76bbaf73893ee18f4b4d7642ed456f932ed0f261 (patch) | |
| tree | 3cebca66ebac6ba831e722a700ea6362e72897be /sphinx | |
| parent | aebfbbb532d2f887d3a372454be639f864c1690a (diff) | |
| parent | 567cc4fb7b6372d286533b6b9a88f454081ed351 (diff) | |
| download | sphinx-git-3.4.x.tar.gz | |
Merge pull request #8797 from jfbu/latex_sphinxsafeincludegraphics_corebug3.4.x
Latex sphinxsafeincludegraphics corebug
Diffstat (limited to 'sphinx')
| -rw-r--r-- | sphinx/texinputs/sphinx.sty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 4b637a9ec..08cf14db7 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -737,7 +737,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}}% |
