[latex3-commits] [git/LaTeX3-latex3-latex3] master: Define kernel date on the fly in package mode (fefc0b1b8)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Aug 20 19:09:56 CEST 2020


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

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

commit fefc0b1b8312ed3987632c1ef12e3831a3b70b7e
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


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

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

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 10df87536..ff898fc14 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1271,8 +1271,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.