[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use \cs in preference to verbatim [ci-skip] (5453b0e)

Bruno Le Floch bruno at le-floch.fr
Tue Feb 19 11:36:01 CET 2019


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

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

commit 5453b0e8df925cf36aad72e36e3e5b3a0babca2a
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Tue Feb 19 11:36:01 2019 +0100

    Use \cs in preference to verbatim [ci-skip]


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

5453b0e8df925cf36aad72e36e3e5b3a0babca2a
 l3kernel/l3candidates.dtx |    2 +-
 l3kernel/l3file.dtx       |    8 ++++----
 l3kernel/l3keys.dtx       |    2 +-
 l3kernel/l3sort.dtx       |    2 +-
 l3kernel/l3tl.dtx         |    4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index b4a7bef..fc721ad 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -888,7 +888,7 @@
 %   via the \meta{setup} argument, which is run just before running the
 %   \meta{shell command} (in a group).
 %   If shell escape is disabled, the \meta{tl~var} will be set to
-%   |\q_no_value| in the non-branching version.
+%   \cs{q_no_value} in the non-branching version.
 %   Note that quote characters (|"|) \emph{cannot} be used inside the
 %   \meta{shell command}.  The \cs{sys_shell_get:nnNTF} conditional
 %   returns \texttt{true} if the shell is available and no quote is
diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index 4809648..b231845 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -193,7 +193,7 @@
 %   Also notice that if multiple lines are read to match braces
 %   then the resulting token list can contain \cs{par} tokens.
 %   In the non-branching version, where the file is not found the \meta{tl var}
-%   is set to |\q_no_value|.
+%   is set to \cs{q_no_value}.
 %   \begin{texnote}
 %     This protected macro is a wrapper around the \TeX{} primitive
 %     \tn{read}.  Regardless of settings, \TeX{} replaces trailing space
@@ -229,7 +229,7 @@
 %   results in a token list |a b  c| with the letters |a|, |b|, and |c|
 %   having category code~12.
 %   In the non-branching version, where the file is not found the \meta{tl var}
-%   is set to |\q_no_value|.
+%   is set to \cs{q_no_value}.
 %   \begin{texnote}
 %     This protected macro is a wrapper around the \eTeX{} primitive
 %     \tn{readline}.  Regardless of settings, \TeX{} removes trailing
@@ -607,7 +607,7 @@
 %   Defines \meta{tl} to the contents of \meta{filename}.
 %   Category codes may need to be set appropriately via the \meta{setup}
 %   argument.
-%   The non-branching version sets the \meta{tl} to |\q_no_value| if the file is
+%   The non-branching version sets the \meta{tl} to \cs{q_no_value} if the file is
 %   not found. The branching version runs the \meta{true code} after the
 %   assignment to \meta{tl} if the file is found, and \meta{false code}
 %   otherwise.
@@ -625,7 +625,7 @@
 %   This includes an extension |.tex| when the given \meta{file name}
 %   has no extension but the file found has that extension.
 %   In the non-branching version, the \meta{tl var} will be set to
-%   |\q_no_value| in the case that the file does not exist.
+%   \cs{q_no_value} in the case that the file does not exist.
 % \end{function}
 %
 % \begin{function}[added = 2017-06-23, updated = 2017-06-26]
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 062880a..157bb4c 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2536,7 +2536,7 @@
 %   When there is no relative path, things here are easy: just save the key
 %   name and value. When we are working with a relative path, first we
 %   need to turn it into a string: that can't happen earlier as we need
-%   to store |\q_no_value|. Then, use a standard delimited approach to fish
+%   to store \cs{q_no_value}. Then, use a standard delimited approach to fish
 %   out the partial path.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_store_unused:
diff --git a/l3kernel/l3sort.dtx b/l3kernel/l3sort.dtx
index a41b30f..08e0aca 100644
--- a/l3kernel/l3sort.dtx
+++ b/l3kernel/l3sort.dtx
@@ -742,7 +742,7 @@
 %   ~~~~~~\meta{extra arguments}\\
 %   ~~|}|\\
 %   \cs{@@_loop:wNn}~\ldots{}~\meta{prepared tokens}\\
-%   ~~\meta{end-loop}~|{}|~|\q_stop|
+%   ~~\meta{end-loop}~|{}|~\cs{q_stop}
 % \end{quote}
 % In this example, which matches the structure of
 % \cs{@@_quick_split_i:NnnnnNn} and a few other functions below, the
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 158b8bd..9fcbab0 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -1149,7 +1149,7 @@
 %
 % \begin{variable}[added = 2017-11-14]{\c_novalue_tl}
 %   A marker for the absence of an argument. This constant |tl| can safely
-%   be typeset (\emph{cf.}~|\q_nil|), with the result being |-NoValue-|.
+%   be typeset (\emph{cf.}~\cs{q_nil}), with the result being |-NoValue-|.
 %   It is important to note that \cs{c_novalue_tl} is constructed such that it
 %   will \emph{not} match the simple text input |-NoValue-|, \emph{i.e.}
 %   that
@@ -1804,7 +1804,7 @@
 %   \meta{pattern}~|#6| then we can use it as the \meta{delimiter}
 %   through \cs{@@_replace_auxii:nNNNnn} |{#1}|.  Otherwise, we end up
 %   calling \cs{@@_replace:NnNNNnn} repeatedly with the first two
-%   arguments |\q_mark| |{?}|, |\?| |{??}|, |\??| |{???}|, and so on,
+%   arguments \cs{q_mark} |{?}|, |\?| |{??}|, |\??| |{???}|, and so on,
 %   until |#6|~does not contain the control sequence~|#1|, which we take
 %   as our~\meta{A}.  The argument~|#2| only serves to collect~|?|
 %   characters for~|#1|.  Note that the order of the tests means that





More information about the latex3-commits mailing list