[latex3-commits] [latex3/latex3] develop: Combine some docs (662f0acb3)

github at latex-project.org github at latex-project.org
Wed Nov 27 11:38:59 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : develop
Link       : https://github.com/latex3/latex3/commit/662f0acb3ac48761f5c366b1cd6358087ea6e6fa

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

commit 662f0acb3ac48761f5c366b1cd6358087ea6e6fa
Author: Joseph Wright <joseph at texdev.net>
Date:   Wed Nov 27 10:38:59 2024 +0000

    Combine some docs


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

662f0acb3ac48761f5c366b1cd6358087ea6e6fa
 l3kernel/l3prg.dtx | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)

diff --git a/l3kernel/l3prg.dtx b/l3kernel/l3prg.dtx
index 78816e882..4a7ee1815 100644
--- a/l3kernel/l3prg.dtx
+++ b/l3kernel/l3prg.dtx
@@ -79,7 +79,9 @@
 % \begin{function}[updated = 2022-11-01]
 %   {
 %     \prg_new_conditional:Npnn, \prg_set_conditional:Npnn, \prg_gset_conditional:Npnn,
+%     \prg_new_protected_conditional:Npnn, \prg_set_protected_conditional:Npnn, \prg_gset_protected_conditional:Npnn,
 %     \prg_new_conditional:Nnn,  \prg_set_conditional:Nnn, \prg_gset_conditional:Nnn
+%     \prg_new_protected_conditional:Nnn,  \prg_set_protected_conditional:Nnn, \prg_gset_protected_conditional:Nnn
 %    }
 %   \begin{syntax}
 %     \cs{prg_new_conditional:Npnn} \cs[no-index]{\meta{name}:\meta{arg spec}} \meta{parameters} \Arg{conditions} \Arg{code} \\
@@ -92,28 +94,9 @@
 %   (\emph{cf.}~\cs{cs_new:Npn}) whereas the \texttt{set} versions do no
 %   check and perform assignments locally (\emph{cf.}~\cs{cs_set:Npn}).
 %   The conditionals created are dependent on the comma-separated list
-%   of \meta{conditions}, which should be one or more of \texttt{p},
-%   \texttt{T}, \texttt{F} and \texttt{TF}.
-% \end{function}
-%
-% \begin{function}[updated = 2012-02-06]
-%   {
-%     \prg_new_protected_conditional:Npnn, \prg_set_protected_conditional:Npnn, \prg_gset_protected_conditional:Npnn,
-%     \prg_new_protected_conditional:Nnn,  \prg_set_protected_conditional:Nnn, \prg_gset_protected_conditional:Nnn
-%   }
-%   \begin{syntax}
-%     \cs{prg_new_protected_conditional:Npnn} \cs[no-index]{\meta{name}:\meta{arg spec}} \meta{parameters} \Arg{conditions} \Arg{code} \\
-%     \cs{prg_new_protected_conditional:Nnn} \cs[no-index]{\meta{name}:\meta{arg spec}} \Arg{conditions} \Arg{code}
-%   \end{syntax}
-%   These functions create a family of protected conditionals using the
-%   same \meta{code} to perform the test created. The \meta{code} does
-%   not need to be expandable.  The \texttt{new} versions check for
-%   existing definitions and perform assignments globally
-%   (\emph{cf.}~\cs{cs_new:Npn}) whereas the \texttt{set} versions do
-%   not (\emph{cf.}~\cs{cs_set:Npn}). The conditionals created are
-%   depended on the comma-separated list of \meta{conditions}, which
-%   should be one or more of \texttt{T}, \texttt{F} and \texttt{TF} (not
-%   \texttt{p}).
+%   of \meta{conditions}, which should be one or more of
+%   \texttt{T}, \texttt{F} and \texttt{TF}, and for non-protected conditionals
+%   \texttt{p}.
 % \end{function}
 %
 % The conditionals are defined by \cs{prg_new_conditional:Npnn} and





More information about the latex3-commits mailing list.