diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-15 22:59:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-15 22:59:15 +0000 |
commit | 2e36532bb99dce0d6c5fba60f7adba7e2bfb7c37 (patch) | |
tree | cc660828dba6c726fdb074cf8863c67909b4c12b /Master/texmf-dist/source/latex/graphics | |
parent | 3921a22f73049427dc715ed4969798cd28ba9142 (diff) |
latex2e (15apr17, ltnews27)
git-svn-id: svn://tug.org/texlive/trunk@43813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/graphics')
-rw-r--r-- | Master/texmf-dist/source/latex/graphics/graphics.dtx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/graphics/graphics.dtx b/Master/texmf-dist/source/latex/graphics/graphics.dtx index 4958cdfdea5..94f199678ee 100644 --- a/Master/texmf-dist/source/latex/graphics/graphics.dtx +++ b/Master/texmf-dist/source/latex/graphics/graphics.dtx @@ -2,7 +2,7 @@ % \iffalse % %% graphics.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995--2016 David Carlisle, LaTeX3 Project +%% Copyright (C) 1995--2017 David Carlisle, LaTeX3 Project %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public @@ -19,7 +19,7 @@ %<driver> \ProvidesFile{graphics.drv} % \fi % \ProvidesFile{graphics.dtx} - [2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)] + [2017/04/14 v1.1b Standard LaTeX Graphics (DPC,SPQR)] % % \iffalse %<*driver> @@ -859,9 +859,19 @@ % \end{macro} % % \begin{macro}{\includegraphics} +% \changes{v1.1a}{2017/03/17} +% {\cs{leavevmode} added before the group in \cs{Gin@iii} so that +% settings in \cs{everypar} are cleared} % Top level command for the standard interface, just look for a |*|. % \begin{macrocode} \def\includegraphics{% +% \end{macrocode} +% Clear |\everypar| before starting a group. +% \begin{macrocode} + \leavevmode +% \end{macrocode} +% +% \begin{macrocode} \@ifstar {\Gin@cliptrue\Gin@i}% {\Gin@clipfalse\Gin@i}} @@ -1672,6 +1682,8 @@ % {\cs{leavevmode} moved earlier. graphics/1521} % \changes{v1.0j}{1999/01/07} % {made long. graphics/2908} +% \changes{v1.1b}{2017/04/14} +% {Adjust box resizing for math mode gh issue 6} % \begin{macrocode} \long\def\Gscale@box#1[#2]#3{% \leavevmode @@ -1688,8 +1700,7 @@ \ifdim#1\p@<\z@ \hb@xt@-#1\wd\z@{\kern-#1\wd\z@\box\tw@\hss}% \else - \wd\tw@#1\wd\z@ - \box\tw@ + \hb@xt@#1\wd\z@{\box\tw@\kern#1\wd\z@\hss}% \fi} % \end{macrocode} % \end{macro} |