[latex3-commits] [git/LaTeX3-latex3-latex2e] graphics-compat: fallback definitions for \set at curr@file (86e91e69)

David Carlisle d.p.carlisle at gmail.com
Wed Oct 9 00:15:26 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : graphics-compat
Link       : https://github.com/latex3/latex2e/commit/86e91e69f33ccfb2a8bc97550391dd7e69f274e7

>---------------------------------------------------------------

commit 86e91e69f33ccfb2a8bc97550391dd7e69f274e7
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Tue Oct 8 23:15:26 2019 +0100

    fallback definitions for \set at curr@file


>---------------------------------------------------------------

86e91e69f33ccfb2a8bc97550391dd7e69f274e7
 required/graphics/changes.txt  |  4 ++++
 required/graphics/graphics.dtx | 22 +++++++++++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/required/graphics/changes.txt b/required/graphics/changes.txt
index 08594988..71e91fc8 100644
--- a/required/graphics/changes.txt
+++ b/required/graphics/changes.txt
@@ -4,6 +4,10 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+2019-10-08  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* graphics.dtx: fallback definitions of \set at curr@file etc added
+
 #########################
 # 2019-10-01 Release
 #########################
diff --git a/required/graphics/graphics.dtx b/required/graphics/graphics.dtx
index f2471e94..8f7d54a9 100644
--- a/required/graphics/graphics.dtx
+++ b/required/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,26 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\set at curr@file}
+% \begin{macro}{\quote at name}
+% \changes{v1.3c}{2019/10/08}
+%     {Definitions added for old formats}
+%    \begin{macrocode}
+\ifx\set at curr@file\@undefined
+\def\set at curr@file#1{%
+  \begingroup
+    \escapechar\m at ne
+    \xdef\@curr at file{\expandafter\string\csname #1\endcsname}%
+  \endgroup
+}
+\def\quote at name#1{"\quote@@name#1\@gobble""}
+\def\quote@@name#1"{#1\quote@@name}
+\def\unquote at name#1{\quote@@name#1\@gobble"}
+\fi
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% 
 % \begin{macro}{\Ginclude at graphics}
 %  The main internal function implementing graphics file inclusion.
 %  |#1| is the file name.





More information about the latex3-commits mailing list