[latex3-commits] [latex3/latex3] main: Adopt Frank's version, in part (8722790c7)

github at latex-project.org github at latex-project.org
Tue Jan 2 11:21:27 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/8722790c78a6a5d5b031933f30eb6c7ee5b14dc0

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

commit 8722790c78a6a5d5b031933f30eb6c7ee5b14dc0
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Tue Jan 2 16:48:12 2024 +0800

    Adopt Frank's version, in part


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

8722790c78a6a5d5b031933f30eb6c7ee5b14dc0
 l3kernel/l3tl.dtx | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 5fbe31aa2..13011486e 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -330,12 +330,13 @@
 %     \cs{tl_if_novalue_p:n} \Arg{token list}
 %     \cs{tl_if_novalue:nTF} \Arg{token list} \Arg{true code} \Arg{false code}
 %   \end{syntax}
-%   Tests if the \meta{token list} is exactly equal to the content of special
-%   \cs{c_novalue_tl} marker, hence it is functionally the same as
-%   \begin{quote}
-%     \cs{tl_if_eq:NnTF} \cs{c_novalue_tl} \Arg{token list} \Arg{true code} \Arg{false code}
-%   \end{quote}
-%   but expandable. This function is intended to allow construction
+%   Tests if the \meta{token list} and the special \cs{c_novalue_tl} marker
+%   contain the same list of tokens, both in respect of character codes and
+%   category codes. This means that
+%   \cs{exp_args:No} \cs{tl_if_novalue:nTF} \{ \cs{c_novalue_tl} \} is 
+%   logically \texttt{true} but \cs{tl_if_novalue:nTF} \{  \cs{c_novalue_tl} \}
+%   is logically \texttt{false}.
+%   This function is intended to allow construction
 %   of flexible document interface structures in which missing optional
 %   arguments are detected.
 % \end{function}





More information about the latex3-commits mailing list.