[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid relying on \input taking braces (8481e455a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Oct 19 18:47:01 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/8481e455a07afe1f995a7b1b6cdc7d864108eff3
>---------------------------------------------------------------
commit 8481e455a07afe1f995a7b1b6cdc7d864108eff3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Oct 19 17:47:01 2020 +0100
Avoid relying on \input taking braces
With an older engine this will fail.
>---------------------------------------------------------------
8481e455a07afe1f995a7b1b6cdc7d864108eff3
l3kernel/CHANGELOG.md | 3 +++
l3kernel/expl3.dtx | 2 +-
l3packages/CHANGELOG.md | 3 +++
l3packages/xparse/xparse.dtx | 2 +-
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index d2968ee5d..f3505fd27 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+###
+Avoid relying on braced `\input` primitive syntax
+
### Changed
- Extend case changer to cover all of Greek with pdfTeX
diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index c42fffb6b..c34d4a9b4 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1242,7 +1242,7 @@
\else
\expandafter\@gobble
\fi
- {\input{expl3-code.tex}}%
+ {\input expl3-code.tex }%
% \end{macrocode}
%
% A check that the bootstrap code did not abort loading: if it did,
diff --git a/l3packages/CHANGELOG.md b/l3packages/CHANGELOG.md
index 4ea7d2c4b..5b50c822c 100644
--- a/l3packages/CHANGELOG.md
+++ b/l3packages/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Changed
+- Avoid relying on braced `\input` primitive syntax
+
## [2020-10-05]
### Changed
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index dd40f2c2a..6c351681f 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1038,7 +1038,7 @@
% an issue if the user has |openin_any = p| with older binaries.
% \begin{macrocode}
%<*2ekernel|package>
-\input { xparse-generic.tex }
+\input xparse-generic.tex ~
%</2ekernel|package>
% \end{macrocode}
%
More information about the latex3-commits
mailing list.