[latex3-commits] [git/LaTeX3-latex3-latex2e] gh519: \filename at ext instead of \Gin at ext when checking for gzipped graphics file (039eb9d8)

PhelypeOleinik phelype.oleinik at latex-project.org
Fri Mar 5 00:04:55 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh519
Link       : https://github.com/latex3/latex2e/commit/039eb9d83c6f260194fc9459990cd8d09739df16

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

commit 039eb9d83c6f260194fc9459990cd8d09739df16
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Mar 4 20:04:55 2021 -0300

    \filename at ext instead of \Gin at ext when checking for gzipped graphics file
    
    Fixes #519


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

039eb9d83c6f260194fc9459990cd8d09739df16
 required/graphics/changes.txt  | 10 ++++------
 required/graphics/graphics.dtx |  9 +++++++--
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/required/graphics/changes.txt b/required/graphics/changes.txt
index 92cdab1c..36fbfe6b 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.
 =======================================================================
 
+2021-03-04  Phelype Oleinik  <phelype.oleinik at latex-project.org>
+
+	* graphics.dtx: fix loading gzipped .(e)ps graphics files.
+
 ================================================================================
 All changes above are only part of the development branch for the next release.
 ================================================================================
@@ -17,12 +21,6 @@ All changes above are only part of the development branch for the next release.
 # 2020-10-01 Release
 #########################
 
-2020-08-21  Phelype Oleinik  <phelype.oleinik at latex-project.org>
-
-	* graphics.dtx: add additional trial with known extensions if
-	the supplied filename+extension exist, but the extension is
-	not a known file extension (gh/355).
-
 2020-08-21  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* grfguide.tex: replace a.ps and a.pdf by a.eps gh/357
diff --git a/required/graphics/graphics.dtx b/required/graphics/graphics.dtx
index 88c9ae3b..5b9ab8b4 100644
--- a/required/graphics/graphics.dtx
+++ b/required/graphics/graphics.dtx
@@ -27,7 +27,7 @@
 %<driver> \ProvidesFile{graphics.drv}
 % \fi
 %         \ProvidesFile{graphics.dtx}
-          [2020/08/30 v1.4c  Standard LaTeX Graphics (DPC,SPQR)]
+          [2021/03/04 v1.4d  Standard LaTeX Graphics (DPC,SPQR)]
 %
 % \iffalse
 %<*driver>
@@ -1125,7 +1125,12 @@
     \ifx\filename at ext\relax
       \let\filename at ext\Gin at gzext
     \else
-      \edef\Gin at ext{\Gin at ext\Gin at sepdefault\Gin at gzext}%
+%    \end{macrocode}
+% \changes{v1.4d}{2021/03/04}
+%     {\cs{filename at ext} instead of \cs{Gin at ext} when
+%      checking for \texttt{gzip}ped graphics file.}
+%    \begin{macrocode}
+      \edef\filename at ext{\filename at ext\Gin at sepdefault\Gin at gzext}%
     \fi
   \fi
   \ifx\filename at ext\relax





More information about the latex3-commits mailing list.