[latex3-commits] [git/LaTeX3-latex3-latex2e] master: gh408 removed from firstaid (bc361d6b)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Oct 25 13:13:01 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/bc361d6b90769c4aa81b5f7c73a6ffd5bfb5e61f

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

commit bc361d6b90769c4aa81b5f7c73a6ffd5bfb5e61f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Oct 25 13:13:01 2020 +0100

    gh408 removed from firstaid


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

bc361d6b90769c4aa81b5f7c73a6ffd5bfb5e61f
 required/firstaid/changes.txt                      |  5 ++
 .../latex2e-first-aid-for-external-files.dtx       | 87 +---------------------
 2 files changed, 7 insertions(+), 85 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 75067562..b4fef50c 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,8 @@
+2020-10-25  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx
+	Fix for gh408 taken out as now in the kernel.
+
 2020-10-13  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 55e0d01e..09c32101 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -110,8 +110,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2020/10/13}
-\def\LaTeXFirstAidVersion{v1.0f}
+\def\LaTeXFirstAidDate{2020/10/25}
+\def\LaTeXFirstAidVersion{v1.0g}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -351,89 +351,6 @@
 %    {Temporary fixes for the kernel \\
 %     (until the next patch-level release)}
 %
-%    This is fixing GitHub issue 408. Looks rather long but changes
-%    only 3 or 4 lines in the macros.
-%    \begin{macrocode}
-\def\@pr at videpackage[#1]{%
-  \expandafter\protected at xdef                %     <-- protected...
-     \csname ver@\@currname.\@currext\endcsname{#1}% Loaded package
-  \expandafter\let
-    \csname ver@\@currpkg at reqd\expandafter\endcsname % Requested package
-    \csname ver@\@currname.\@currext\endcsname
-  \ifx\@currext\@clsextension
-    \typeout{Document Class: \@gtempa\space#1}%
-  \else
-    \protected at wlog{Package: \@gtempa\space#1}%   <--- protected
-  \fi}
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-\def\load at onefilewithoptions#1[#2][#3]#4{%  % <--- \@onefilewithoptions
-                                            %      earlier in the kernel
-  \@pushfilename
-  \xdef\@currname{#1}%
-  \global\let\@currext#4%
-  \@ifl at aded\@currext\@currname
-    {\@if at ptions\@currext{\@currname}{#2}{}%
-      {\@latex at error
-        {Option clash for \@cls at pkg\space \@currname}%
-        {The package \@currname\space has already been loaded
-         with options:\MessageBreak
-         \space\space[\@ptionlist{\@currname.\@currext}]\MessageBreak
-         There has now been an attempt to load it
-          with options\MessageBreak
-         \space\space[#2]\MessageBreak
-         Adding the global options:\MessageBreak
-         \space\space
-              \@ptionlist{\@currname.\@currext},#2\MessageBreak
-         to your \noexpand\documentclass declaration may fix this.%
-         \MessageBreak
-         Try typing \space <return> \space to proceed.}}%
-     \@firstofone}%
-    {\makeatletter
-     \@reset at ptions
-     \IfFileExists{\@currname.\@currext}{}%
-       {\@missing at onefilewithoptions{#2}}%
-     \ifx\@currname\@empty
-       \expandafter\@gobble
-     \else
-       \@disable at packageload@do{\@currname.\@currext}%
-         {\@expl@@@filehook at file@push@@
-          \set at curr@file{\@currname.\@currext}%
-          \@filehook at set@CurrentFile
-          \expandafter\@swaptwoargs\expandafter
-            {\expandafter{\@currpkg at reqd}}%
-            {% <
-          \edef\@currpkg at reqd{\@currname.\@currext}%
-          \ifx\CurrentFile\CurrentFileUsed
-          \else
-            \filename at parse\@curr at file
-            \edef\@currname{\string at makeletter\filename at base}%
-            \edef\@currext{\string at makeletter\filename at ext}%
-          \fi
-          \load at onefile@withoptions{#2}%
-          \def\@currpkg at reqd%{\@currpkg at reqd}
-            }% >
-          \@expl@@@filehook at file@pop@@}%
-       \expandafter\@firstofone
-     \fi}%
-    {\@ifl at ter\@currext{\@currname}{#3}{}%
-      {\@latex at warning@no at line
-        {You have requested,\on at line,
-         version\MessageBreak
-           `#3' of \@cls at pkg\space \@currname,\MessageBreak
-         but only version\MessageBreak
-          `\csname ver@\@currname.\@currext\endcsname'\MessageBreak
-         is available}}%
-     \ifx\@currext\@clsextension\let\LoadClass\@twoloadclasserror\fi}%
-    \@popfilename
-    \@reset at ptions}
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-\let\@currpkg at reqd\@empty
-%    \end{macrocode}
-%
 %
 %    \begin{macrocode}
 %</kernel>





More information about the latex3-commits mailing list.