[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh422: Add changes.txt entry and step file dates (dbab762e)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Nov 21 02:47:16 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/gh422
Link       : https://github.com/latex3/latex2e/commit/dbab762e970b0f266e8709b9eb48c0ee8d10d92f

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

commit dbab762e970b0f266e8709b9eb48c0ee8d10d92f
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Nov 20 22:47:16 2020 -0300

    Add changes.txt entry and step file dates


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

dbab762e970b0f266e8709b9eb48c0ee8d10d92f
 base/changes.txt    | 14 ++++++++++++++
 base/ltclass.dtx    | 12 ++++++------
 base/ltfilehook.dtx |  6 +++---
 3 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 29f3d293..a0ab2b25 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -10,6 +10,20 @@ are not part of the distribution.
 All changes above are only part of the development branch for the next release.
 ================================================================================
 
+2020-11-20  Phelype Oleinik  <phelype.oleinik at latex-project.org>
+
+	* ltclass.dtx:
+	Remove file path from \@currname and use only \@currname to identify
+		a package internally (gh/422).
+	Add \@currpath and (temporarily) \@kernel at currpathstack.
+	In \ProvidesPackage check the argument with \strcmp instead of \ifx.
+	In case of substitution, copy the option list to the requested package.
+
+	* ltfilehook.dtx:
+	Keep path in the replacement file (#2) in \declare at file@substitution.
+	In case of a replacement, pass the actually loaded file to \@addtofilelist.
+	Explicitly clear replacement flag after using it.
+
 #########################
 # 2020-10-01 PL 2 Release
 #########################
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 56073206..96f244dc 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2020/10/18 v1.3t LaTeX Kernel (Class & Package Interface)]
+             [2020/11/20 v1.3u LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -526,7 +526,7 @@
 %
 % \begin{macro}{\@currpath}
 %   Path to the current file if explicitly given.
-%   \changes{v1.3u}{2020/11/05}{Macro added}
+%   \changes{v1.3u}{2020/11/20}{Macro added}
 %    \begin{macrocode}
 %</2ekernel>
 %<*2ekernel|latexrelease>
@@ -711,7 +711,7 @@
 % \begin{macro}{\@kernel at currpathstack}
 %   Path to the current file if explicitly given.  The auxiliary is
 %   needed here to insert a \cs{@empty} to prevent the loss of braces.
-%   \changes{v1.3u}{2020/11/07}{Macro added}
+%   \changes{v1.3u}{2020/11/20}{Macro added}
 %    \begin{macrocode}
 %</2ekernel>
 %<*2ekernel|latexrelease>
@@ -986,7 +986,7 @@
 \def\ProvidesPackage#1{%
   \xdef\@gtempa{#1}%
 %    \end{macrocode}
-% \changes{v1.3u}{2020/11/07}
+% \changes{v1.3u}{2020/11/20}
 %         {Use string comparison instead of \cs{ifx}}
 %   Here \cs{@currpath} is explicitly added to the file name to report
 %   when a package or class is loaded using an explicit path.  Loading
@@ -1181,7 +1181,7 @@
       {\csname opt@\reserved at a\endcsname,}%
     \zap at space#2 \@empty}
 %    \end{macrocode}
-% \changes{v1.3u}{2020/11/14}
+% \changes{v1.3u}{2020/11/20}
 %         {Copy option list to the requested package.}
 %    \begin{macrocode}
   \expandafter\let
@@ -2036,7 +2036,7 @@
   \def\reserved at a{%
     \@pass at ptions\@currext{#1}{\@currname}%
 %    \end{macrocode}
-% \changes{v1.3u}{2020/11/14}
+% \changes{v1.3u}{2020/11/20}
 %         {Copy option list to the requested package.}
 %    \begin{macrocode}
     \expandafter\let
diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 50f6785c..584aa9ff 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -31,8 +31,8 @@
 %%% From File: ltfilehook.dtx
 %
 %    \begin{macrocode}
-\providecommand\ltfilehookversion{v1.0c}
-\providecommand\ltfilehookdate{2020/10/18}
+\providecommand\ltfilehookversion{v1.0d}
+\providecommand\ltfilehookdate{2020/11/20}
 %    \end{macrocode}
 %
 %<*driver>
@@ -698,7 +698,7 @@
 %    change their value meanwhile. This isn't a worry with
 %    \cs[no-index]{CurrentFile...} because they are kept in a stack.
 %
-% \changes{v1.0d}{2020/11/17}
+% \changes{v1.0d}{2020/11/20}
 %   {Move loading to \cs{@input at file@exists at with@hooks} and expand
 %    \cs{@filef at und} to avoid getting the wrong file name in the case of
 %    a substitution.}





More information about the latex3-commits mailing list.