[latex3-commits] [git/LaTeX3-latex3-latex3] version-check: Define kernel date on the fly in package mode (4a6bab78a)

PhelypeOleinik tex.phelype at gmail.com
Mon Aug 3 05:33:17 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : version-check
Link       : https://github.com/latex3/latex3/commit/4a6bab78abe591f6ff4f5fac3ca10382a9194968

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

commit 4a6bab78abe591f6ff4f5fac3ca10382a9194968
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Mon Aug 3 00:33:17 2020 -0300

    Define kernel date on the fly in package mode


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

4a6bab78abe591f6ff4f5fac3ca10382a9194968
 l3kernel/expl3.dtx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 3092ce37a..87fbd44b3 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1272,8 +1272,11 @@
   \ifodd\csname\detokenize{l__kernel_expl_bool}\endcsname
 %    \end{macrocode}
 %   In package mode all files are loaded in one go, so versions will
-%   match, so nothing has to be done.
+%   match.  We just have to set \cs{c__kernel_expl_date_tl} so that
+%   further dependencies don't break:
 %    \begin{macrocode}
+    \global\expandafter\let\csname\detokenize
+      {c__kernel_expl_date_tl}\endcsname\ExplLoaderFileDate
     \expandafter\expandafter
     \expandafter\@gobble
   \else





More information about the latex3-commits mailing list.