[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh414: Fix passing options to class/package in \input at path (fixes #414) (978bf8f6)

PhelypeOleinik phelype.oleinik at latex-project.org
Sun Oct 18 17:16:53 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/gh414
Link       : https://github.com/latex3/latex2e/commit/978bf8f6823a6119e84f7dc0c0831f24eb45b8b3

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

commit 978bf8f6823a6119e84f7dc0c0831f24eb45b8b3
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Oct 18 12:16:53 2020 -0300

    Fix passing options to class/package in \input at path (fixes #414)


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

978bf8f6823a6119e84f7dc0c0831f24eb45b8b3
 base/changes.txt | 9 +++++++++
 base/ltclass.dtx | 7 +++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 36a22af1..deaf5596 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -11,6 +11,15 @@ All changes above are only part of the development branch for the next release.
 ================================================================================
 
 #########################
+# 2020-10-01 PL 2 Release
+#########################
+
+2020-10-18  Phelype Oleinik  <phelype.oleinik at latex-project.org>
+
+	* ltclass.dtx:
+	Fix passing options to class/package in \input at path (gh/414).
+
+#########################
 # 2020-10-01 PL 1 Release
 #########################
 
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index e771044e..c4e0930d 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2020/10/08 v1.3s LaTeX Kernel (Class & Package Interface)]
+             [2020/10/18 v1.3t LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -1064,13 +1064,16 @@
 % \begin{macro}{\PassOptionsToClass}
 % If the package has been loaded, we check that it was first loaded with
 % the options.  Otherwise we add the option list to that of the package.
+% \changes{v1.3t}{2020/10/18}{Drop path from \cs{input at path} (gh/414).}
 %    \begin{macrocode}
 %</2ekernel>
 %<latexrelease>\IncludeInRelease{2020/10/01}{\@pass at ptions}
 %<latexrelease>  {Add file replacement in \@pass at ptions}%
 %<*2ekernel|latexrelease>
 \def\@pass at ptions#1#2#3{%
-  \edef\reserved at a{\@expl@@@filehook at resolve@file at subst@@w #3.#1\@nil}%
+  \@expl@@@filehook at set@curr at file@@nNN
+    {\@expl@@@filehook at resolve@file at subst@@w #3.#1\@nil}%
+      \reserved at a\reserved at b
   \expandafter\xdef\csname opt@\reserved at a\endcsname{%
     \@ifundefined{opt@\reserved at a}\@empty
       {\csname opt@\reserved at a\endcsname,}%





More information about the latex3-commits mailing list.