diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-13 21:45:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-13 21:45:09 +0000 |
commit | 1828cfdc0e3f0b73f56269b2a136f1a06af68c86 (patch) | |
tree | 1bd8fa097c0773952aacc64f44a1aa92f646344a /Master/texmf-dist/source/latex/graphics | |
parent | 59e719d7e1969d25917e37c43d81239fa593396a (diff) |
latex2e (13oct19)
git-svn-id: svn://tug.org/texlive/trunk@52372 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 | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/graphics/graphics.dtx b/Master/texmf-dist/source/latex/graphics/graphics.dtx index f2471e94bbb..b6de6023d44 100644 --- a/Master/texmf-dist/source/latex/graphics/graphics.dtx +++ b/Master/texmf-dist/source/latex/graphics/graphics.dtx @@ -25,7 +25,7 @@ %<driver> \ProvidesFile{graphics.drv} % \fi % \ProvidesFile{graphics.dtx} - [2019/07/20 v1.3b Standard LaTeX Graphics (DPC,SPQR)] + [2019/10/08 v1.3c Standard LaTeX Graphics (DPC,SPQR)] % % \iffalse %<*driver> @@ -1043,6 +1043,38 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\set@curr@file} +% \begin{macro}{\quote@name} +% \changes{v1.3c}{2019/10/08} +% {Definitions added for old formats} +% \begin{macrocode} +\def\Gin@temp#1{% + \begingroup + \escapechar\m@ne + \xdef\@curr@file{\expandafter\string\csname #1\endcsname}% + \endgroup +} +\ifx\set@curr@file\@Gin@temp + \let\set@curr@file\@undefined +\fi +% \end{macrocode} +% +% \begin{macrocode} +\ifx\set@curr@file\@undefined +\def\set@curr@file#1{% + \begingroup + \escapechar\m@ne + \xdef\@curr@file{\expandafter\string\csname\@firstofone#1\@empty\endcsname}% + \endgroup +} +\def\quote@name#1{"\quote@@name#1\@gobble""} +\def\quote@@name#1"{#1\quote@@name} +\def\unquote@name#1{\quote@@name#1\@gobble"} +\fi +% \end{macrocode} +% \end{macro} +% \end{macro} +% % \begin{macro}{\Ginclude@graphics} % The main internal function implementing graphics file inclusion. % |#1| is the file name. @@ -1069,6 +1101,7 @@ \let\input@path\Ginput@path % \end{macrocode} % A lot of quote juggling going on here (room for improvements). +% % \begin{macrocode} \set@curr@file{#1}% \edef\uq@curr@file{\expandafter\unquote@name\expandafter{\@curr@file}}% |