diff options
author | Norbert Preining <norbert@preining.info> | 2023-08-04 03:01:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-08-04 03:01:07 +0000 |
commit | 319c90e45fc96ba6f15edcf00b24e484d9d92f2b (patch) | |
tree | 7011e82643aff6842597d83574783a350142063c /macros/latex/contrib/l3kernel/expl3.dtx | |
parent | 63c1aaa794cb47fe36ebe8010257ec8ad322efbb (diff) |
CTAN sync 202308040301
Diffstat (limited to 'macros/latex/contrib/l3kernel/expl3.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/expl3.dtx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/macros/latex/contrib/l3kernel/expl3.dtx b/macros/latex/contrib/l3kernel/expl3.dtx index 31a8946103..b9856ecba3 100644 --- a/macros/latex/contrib/l3kernel/expl3.dtx +++ b/macros/latex/contrib/l3kernel/expl3.dtx @@ -24,7 +24,7 @@ % %<*driver|generic|package|2ekernel> %</driver|generic|package|2ekernel> -\def\ExplFileDate{2023-06-30}% +\def\ExplFileDate{2023-08-03}% %<*driver> \documentclass[full]{l3doc} \usepackage{graphicx} @@ -51,7 +51,7 @@ % }^^A % } % -% \date{Released 2023-06-30} +% \date{Released 2023-08-03} % % \maketitle % @@ -323,7 +323,7 @@ % is private to the module, and should \emph{not} be used outside of that % module. % -% In the same way, private variables should use two "__" at the start of the +% Similarly, private variables should use |__| to separate scope and % module name, such that % \begin{verbatim} % \l_module_foo_tl @@ -1195,10 +1195,15 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@expl@provides@file@@Nnnnnn, \@expl@provides@generic@@wnnw} +% \begin{macro}{\@expl@provides@file@@Nnnnnn} +% \begin{macro}{\@expl@provides@file@@N} +% \begin{macro}{\@expl@provides@generic@@wnnw} % We need to check the existence of the % \cs[no-index]{Provides\meta{thing}}, since we need to load this very -% early in the \LaTeXe{} kernel. +% early in the \LaTeXe{} kernel. The gymnastics with the version identifier +% argument allow for the case where it starts with a \texttt{v} and the one +% where it does not: formally the \texttt{v} is not part of the version, +% but a lot of people include it. % \begin{macrocode} \protected\long\def\@expl@provides@file@@Nnnnnn#1#2#3#4#5#6% {% @@ -1210,15 +1215,18 @@ \else \@expl@provides@generic@@wnnw{#2}% \fi - {#3}[{#4 \ifx\relax#5\relax\else v#5\space\fi #6}]% + {#3}[{#4 \ifx\relax#5\relax\else\@expl@provides@file@@N#5\space\fi #6}]% \ExplSyntaxOn } +\long\def\@expl@provides@file@@N#1{v\if#1v\else#1\fi} \protected\long\def\@expl@provides@generic@@wnnw#1\fi#2[#3]% {% \immediate\write-1{#1: #2 #3}% } % \end{macrocode} % \end{macro} +% \end{macro} +% \end{macro} % % Load the business end: this leaves \cs{expl3} syntax on. % The test ensures we only load once without needing to know if |