summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/graphics/graphics.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/graphics/graphics.dtx')
-rw-r--r--Master/texmf-dist/source/latex/graphics/graphics.dtx13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/graphics/graphics.dtx b/Master/texmf-dist/source/latex/graphics/graphics.dtx
index c77b88a6ebf..4958cdfdea5 100644
--- a/Master/texmf-dist/source/latex/graphics/graphics.dtx
+++ b/Master/texmf-dist/source/latex/graphics/graphics.dtx
@@ -19,7 +19,7 @@
%<driver> \ProvidesFile{graphics.drv}
% \fi
% \ProvidesFile{graphics.dtx}
- [2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR)]
+ [2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)]
%
% \iffalse
%<*driver>
@@ -163,7 +163,7 @@
%
% \DescribeMacro
% \DeclareGraphicsExtensions\marg{ext-list}\\
-% This specifies the behaviour of the system when the argument to
+% This specifies the behaviour of the system when the filename argument to
% |\includegraphics| does not have an extension specified.
% Here \marg{ext-list} should be a comma-separated list of file
% extensions, each with a leading period (\texttt{.}).
@@ -1802,7 +1802,7 @@
% |keepaspectratio| key to |\includegraphics| in the \textsf{graphicx}
% package.
% \changes{v0.7e}{1995/09/29}
-% {Maco added}
+% {Macro added}
% \begin{macrocode}
\newif\ifGin@iso
% \end{macrocode}
@@ -1832,7 +1832,12 @@
\fi
\ifdim\dimen@>\z@
\loop
- \ifdim\dimen@<8192\p@
+% \end{macrocode}
+%
+% \changes{v1.0u}{2016/10/09}
+% {avoid overflow for small lengths eg 5sp divided by 2sp}
+% \begin{macrocode}
+ \ifdim\ifnum\count@<\tw@\maxdimen\else\dimen@\fi<8192\p@
\dimen@\tw@\dimen@
\divide\count@\tw@
\repeat