[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use \input not \file_input:n to load generic xparse code (4d4ded967)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 25 10:07:09 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/4d4ded967c29aa2771cc76108a20a00cc88f2f8a

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

commit 4d4ded967c29aa2771cc76108a20a00cc88f2f8a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 25 09:07:09 2020 +0100

    Use \input not \file_input:n to load generic xparse code


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

4d4ded967c29aa2771cc76108a20a00cc88f2f8a
 l3packages/CHANGELOG.md      | 4 ++++
 l3packages/xparse/xparse.dtx | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/l3packages/CHANGELOG.md b/l3packages/CHANGELOG.md
index b7d13b5ac..805ea522f 100644
--- a/l3packages/CHANGELOG.md
+++ b/l3packages/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+- Load generic code using `\input` not `\file_input:n` to avoid an issue
+  when `openin_any = p` is set
+
 ## [2020-05-15]
 
 ### Changed
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 0991cded1..300effbf7 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1034,10 +1034,11 @@
 %</core>
 %    \end{macrocode}
 %
-%  Load the core code.
+%  Load the core code. We use \tn{input} here as there can be
+%  an issue if the user has |openin_any = p| with older binaries.
 %    \begin{macrocode}
 %<*2ekernel|package>
-\file_input:n { xparse-generic.tex }
+\input { xparse-generic.tex }
 %</2ekernel|package>
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list.