summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-07 21:21:46 +0000
committerKarl Berry <karl@freefriends.org>2020-09-07 21:21:46 +0000
commit82f7e34e882e279a2c67b04855c4f151e7954391 (patch)
tree9327f96b050d24edba5d1e624796bae596544a0e /Master/texmf-dist/source/latex/l3kernel/expl3.dtx
parent0f8db6b48459d4fbfa7497448127e65515a2e195 (diff)
l3kernel (7sep20)
git-svn-id: svn://tug.org/texlive/trunk@56286 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/expl3.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/expl3.dtx26
1 files changed, 18 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
index 25639b4690a..140e507b63c 100644
--- a/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/expl3.dtx
@@ -24,7 +24,7 @@
%
%<*driver|generic|package|2ekernel>
%</driver|generic|package|2ekernel>
-\def\ExplFileDate{2020-09-03}%
+\def\ExplFileDate{2020-09-06}%
%<*driver>
\documentclass[full]{l3doc}
\usepackage{graphicx}
@@ -51,7 +51,7 @@
% }^^A
% }
%
-% \date{Released 2020-09-03}
+% \date{Released 2020-09-06}
%
% \maketitle
%
@@ -1065,13 +1065,23 @@
% It seems to be common to have stray format files in the user tree
% which trigger errors due to mismatched versions (\emph{e.g.}
% \url{https://github.com/latex3/latex3/issues/781}).
+%
+% This block also goes to the generic loader, as \pkg{expl3} isn't
+% preloaded there, so the kernel date should be equal to the loader
+% date.
% \begin{macrocode}
-%<*2ekernel>
-\unless\ifcsname\detokenize{c__kernel_expl_date_tl}\endcsname
- \global\expandafter\let\csname\detokenize
- {c__kernel_expl_date_tl}\endcsname\ExplFileDate
-\fi
-%</2ekernel>
+%<*2ekernel|generic>
+\begingroup
+ \catcode`\>=12
+ \def\aux#1>{}
+ \def\auxi{c__kernel_expl_date_tl}%
+ \edef\auxi{\expandafter\aux\meaning\auxi}%
+ \expandafter
+ \ifx\csname\auxi\endcsname\relax
+ \global\expandafter\let\csname\auxi\endcsname\ExplFileDate
+ \fi
+\endgroup
+%</2ekernel|generic>
% \end{macrocode}
% \end{macro}
%