[latex3-commits] [latex3/latex3] main: Replace \textsf with \pkg or \cls (0920abc76)

github at latex-project.org github at latex-project.org
Sat Dec 9 23:11:10 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/0920abc769aee2be12fb6a0f898fa7de23412389

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

commit 0920abc769aee2be12fb6a0f898fa7de23412389
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Sun Dec 10 02:37:16 2023 +0800

    Replace \textsf with \pkg or \cls


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

0920abc769aee2be12fb6a0f898fa7de23412389
 l3kernel/expl3.dtx         |  4 ++--
 l3kernel/l3basics.dtx      | 10 +++++-----
 l3trial/l3ldb/l3precom.dtx |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 04dfbca59..1989ba294 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1437,12 +1437,12 @@
 %   an older version of the kernel, so we \emph{must} patch.
 %
 %   In \texttt{package} mode, if these commands exist, then we are using
-%   a version of \LaTeXe{} with \textsf{expl3} preloaded (any version)
+%   a version of \LaTeXe{} with \pkg{expl3} preloaded (any version)
 %   and in any case patching is already done or the macros are in the
 %   format itself, so nothing to do.
 %   But if in \texttt{package} mode these macros don't exist, we have an
 %   even older version of \LaTeXe{} which doesn't even have
-%   \textsf{expl3} preloaded, so patching is necessary.
+%   \pkg{expl3} preloaded, so patching is necessary.
 %
 %   All this means that in both \texttt{2ekernel} and \texttt{package}
 %   mode we have to check whether \cs{@expl at sys@load at backend@@@@}
diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 9f325beeb..a96c4adb2 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -1417,7 +1417,7 @@
 % \end{macro}
 %
 % \begin{macro}[EXP]{\exp_after:wN, \exp_not:N, \exp_not:n}
-%    The five |\exp_| functions are used in the \textsf{l3expan} module
+%    The five |\exp_| functions are used in the \pkg{l3expan} module
 %    where they are described.
 %    \begin{macrocode}
 \tex_let:D \exp_after:wN       \tex_expandafter:D
@@ -1448,7 +1448,7 @@
 % \begin{macro}{\scan_stop:, \group_begin:, \group_end:}
 %    The next three are basic functions for which there also exist
 %    versions that are safe inside alignments. These safe versions are
-%    defined in the \textsf{l3prg} module.
+%    defined in the \pkg{l3prg} module.
 %    \begin{macrocode}
 \tex_let:D \scan_stop:         \tex_relax:D
 \tex_let:D \group_begin:       \tex_begingroup:D
@@ -1513,10 +1513,10 @@
 %
 % \begin{variable}{\c_zero_int}
 %   We need the constant \cs{c_zero_int}
-%   which is used by some functions in the \textsf{l3alloc} module. The
-%   rest are defined in the \textsf{l3int} module -- at least for the
+%   which is used by some functions in the \pkg{l3alloc} module. The
+%   rest are defined in the \pkg{l3int} module -- at least for the
 %   ones that can be defined with \cs{tex_chardef:D} or
-%   \cs{tex_mathchardef:D}. For other constants the \textsf{l3int} module is
+%   \cs{tex_mathchardef:D}. For other constants the \pkg{l3int} module is
 %   required but it can't be used until the allocation has been set
 %   up properly!
 %    \begin{macrocode}
diff --git a/l3trial/l3ldb/l3precom.dtx b/l3trial/l3ldb/l3precom.dtx
index 1978d297b..6b85bfd83 100644
--- a/l3trial/l3ldb/l3precom.dtx
+++ b/l3trial/l3ldb/l3precom.dtx
@@ -125,7 +125,7 @@
 %
 % \begin{macro}{\cs_record_name:N, \cs_record_name:c}
 %   These functions mark a control sequence for dumping into a
-%   precompiled class.  When the \textsf{trace} `module' is included in
+%   precompiled class.  When the \pkg{trace} `module' is included in
 %   the code we also write information about the control sequence into a
 %   |.dmp| file.
 %    \begin{macrocode}





More information about the latex3-commits mailing list.