[latex3-commits] [latex3/latex3] main: Use `\tn` to markup (La)TeX commands (52ca74f3e)

github at latex-project.org github at latex-project.org
Thu Oct 19 07:35:10 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/52ca74f3e8eae509a6f7db4acc1bbcd1d347d998

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

commit 52ca74f3e8eae509a6f7db4acc1bbcd1d347d998
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Thu Oct 19 05:21:18 2023 +0800

    Use `\tn` to markup (La)TeX commands


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

52ca74f3e8eae509a6f7db4acc1bbcd1d347d998
 l3kernel/doc/source3body.tex | 4 ++--
 l3kernel/l3str.dtx           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/doc/source3body.tex b/l3kernel/doc/source3body.tex
index 34573d3d6..b1a536b8a 100644
--- a/l3kernel/doc/source3body.tex
+++ b/l3kernel/doc/source3body.tex
@@ -517,9 +517,9 @@ logical construct.
 
 \section{\TeX{} concepts not supported by \LaTeX3{}}
 
-The \TeX{} concept of an \enquote{\cs{outer}} macro is \emph{not supported}
+The \TeX{} concept of an \enquote{\tn{outer}} macro is \emph{not supported}
 at all by \LaTeX3{}. As such, the functions provided here may break when
-used on top of \LaTeXe{} if \cs{outer} tokens are used in the arguments.
+used on top of \LaTeXe{} if \tn{outer} tokens are used in the arguments.
 
 \DisableImplementation
 
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index 7a1c911d1..e13af61c7 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -1138,7 +1138,7 @@
 % \end{macro}
 %
 % \begin{macro}[EXP]{\@@_if_eq:nn}
-%   String comparisons rely on the primitive \cs[index=pdfstrcmp]{(pdf)strcmp},
+%   String comparisons rely on the primitive \tn[index=pdfstrcmp]{(pdf)strcmp},
 %   so we define a new name for it.
 %    \begin{macrocode}
 \cs_new_eq:NN \@@_if_eq:nn \tex_strcmp:D





More information about the latex3-commits mailing list.