[latex3-commits] [latex3/latex3] main: Fix doc typo for expandable conditionals (cc0459dbb)
github at latex-project.org
github at latex-project.org
Tue May 16 09:38:54 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/cc0459dbb26297f7c235feeb978b26be1b3e933d
>---------------------------------------------------------------
commit cc0459dbb26297f7c235feeb978b26be1b3e933d
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Tue May 16 14:44:55 2023 +0800
Fix doc typo for expandable conditionals
>---------------------------------------------------------------
cc0459dbb26297f7c235feeb978b26be1b3e933d
l3kernel/l3color.dtx | 4 ++--
l3kernel/l3file.dtx | 3 ++-
l3kernel/l3flag.dtx | 6 ++++--
l3kernel/l3fp.dtx | 3 ++-
l3kernel/l3legacy.dtx | 1 +
l3kernel/l3pdf.dtx | 1 +
l3kernel/l3prg.dtx | 1 +
l3kernel/l3prop.dtx | 1 +
l3kernel/l3sys.dtx | 3 +++
9 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index 047467075..915825bd7 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -252,8 +252,8 @@
%
% \begin{function}[EXP, pTF, added = 2022-08-12]{\color_if_exist:n}
% \begin{syntax}
-% \cs{color_if_exist:n} \Arg{name}
-% \cs{color_if_exist:n} \Arg{name} \Arg{true code} \Arg{false code}
+% \cs{color_if_exist_p:n} \Arg{name}
+% \cs{color_if_exist:nTF} \Arg{name} \Arg{true code} \Arg{false code}
% \end{syntax}
% Tests whether \meta{name} is currently defined to provide a color
% specification.
diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index 4be6f56f8..b1c8e7c81 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -886,7 +886,8 @@
% \begin{function}[added = 2019-05-13, updated = 2019-09-20, pTF, EXP]
% {\file_compare_timestamp:nNn}
% \begin{syntax}
-% \cs{file_compare_timestamp:nNn} \Arg{file-1} \meta{comparator} \Arg{file-2} \Arg{true code} \Arg{false code}
+% \cs{file_compare_timestamp_p:nNn} \Arg{file-1} \meta{comparator} \Arg{file-2}
+% \cs{file_compare_timestamp:nNnTF} \Arg{file-1} \meta{comparator} \Arg{file-2} \Arg{true code} \Arg{false code}
% \end{syntax}
% Compares the file stamps on the two \meta{files} as indicated by
% the \meta{comparator}, and inserts either the \meta{true code}
diff --git a/l3kernel/l3flag.dtx b/l3kernel/l3flag.dtx
index 80981884f..e9d54e4d1 100644
--- a/l3kernel/l3flag.dtx
+++ b/l3kernel/l3flag.dtx
@@ -123,7 +123,8 @@
%
% \begin{function}[EXP,pTF]{\flag_if_exist:n}
% \begin{syntax}
-% \cs{flag_if_exist:n} \Arg{flag name}
+% \cs{flag_if_exist_p:n} \Arg{flag name}
+% \cs{flag_if_exist:nTF} \Arg{flag name} \Arg{true code} \Arg{false code}
% \end{syntax}
% This function returns \texttt{true} if the \meta{flag name}
% references a flag that has been defined previously, and
@@ -132,7 +133,8 @@
%
% \begin{function}[EXP,pTF]{\flag_if_raised:n}
% \begin{syntax}
-% \cs{flag_if_raised:n} \Arg{flag name}
+% \cs{flag_if_raised_p:n} \Arg{flag name}
+% \cs{flag_if_raised:nTF} \Arg{flag name} \Arg{true code} \Arg{false code}
% \end{syntax}
% This function returns \texttt{true} if the \meta{flag} has non-zero
% height, and \texttt{false} if the \meta{flag} has zero height.
diff --git a/l3kernel/l3fp.dtx b/l3kernel/l3fp.dtx
index 88c323e41..c264397c4 100644
--- a/l3kernel/l3fp.dtx
+++ b/l3kernel/l3fp.dtx
@@ -478,7 +478,8 @@
%
% \begin{function}[pTF, added = 2019-08-25]{\fp_if_nan:n}
% \begin{syntax}
-% \cs{fp_if_nan:n} \Arg{fp expr}
+% \cs{fp_if_nan_p:n} \Arg{fp expr}
+% \cs{fp_if_nan:nTF} \Arg{fp expr} \Arg{true code} \Arg{false code}
% \end{syntax}
% Evaluates the \meta{fp expr} and tests whether the result is exactly
% \nan{}. The test returns \texttt{false} for any other result, even
diff --git a/l3kernel/l3legacy.dtx b/l3kernel/l3legacy.dtx
index aa144fdb2..0189e0d4b 100644
--- a/l3kernel/l3legacy.dtx
+++ b/l3kernel/l3legacy.dtx
@@ -56,6 +56,7 @@
%
% \begin{function}[EXP,pTF]{\legacy_if:n}
% \begin{syntax}
+% \cs{legacy_if_p:n} \Arg{name}
% \cs{legacy_if:nTF} \Arg{name} \Arg{true code} \Arg{false code}
% \end{syntax}
% Tests if the \LaTeXe{}/plain \TeX{} conditional (generated by \tn{newif})
diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 0a76fc54e..810ca35d7 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -131,6 +131,7 @@
%
% \begin{function}[pTF, EXP, added = 2021-02-10]{\pdf_version_compare:Nn}
% \begin{syntax}
+% \cs{pdf_version_compare_p:Nn} \meta{comparator} \Arg{version}
% \cs{pdf_version_compare:NnTF} \meta{comparator} \Arg{version} \Arg{true code} \Arg{false code}
% \end{syntax}
% Compares the version of the PDF being created with the \meta{version}
diff --git a/l3kernel/l3prg.dtx b/l3kernel/l3prg.dtx
index c1d42e10b..06be450ed 100644
--- a/l3kernel/l3prg.dtx
+++ b/l3kernel/l3prg.dtx
@@ -708,6 +708,7 @@
%
% \begin{function}[updated = 2011-09-05, EXP,pTF]{\mode_if_math:}
% \begin{syntax}
+% \cs{mode_if_math_p:}
% \cs{mode_if_math:TF} \Arg{true code} \Arg{false code}
% \end{syntax}
% Detects if \TeX{} is currently in maths mode.
diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index 341b46bdf..8ac9baf08 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -377,6 +377,7 @@
% \prop_if_in:cn, \prop_if_in:cV, \prop_if_in:co
% }
% \begin{syntax}
+% \cs{prop_if_in_p:Nn} \meta{property list} \Arg{key}
% \cs{prop_if_in:NnTF} \meta{property list} \Arg{key} \Arg{true code} \Arg{false code}
% \end{syntax}
% Tests if the \meta{key} is present in the \meta{property list},
diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index e7280bb33..6a9598825 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -90,6 +90,7 @@
% \sys_if_engine_xetex:
% }
% \begin{syntax}
+% \cs{sys_if_engine_pdftex_p:}
% \cs{sys_if_engine_pdftex:TF} \Arg{true code} \Arg{false code}
% \end{syntax}
% Conditionals which allow engine-specific code to be used. The names
@@ -161,6 +162,7 @@
% \sys_if_output_pdf:
% }
% \begin{syntax}
+% \cs{sys_if_output_dvi_p:}
% \cs{sys_if_output_dvi:TF} \Arg{true code} \Arg{false code}
% \end{syntax}
% Conditionals which give the current output mode the \TeX{} run is
@@ -183,6 +185,7 @@
% \sys_if_platform_windows:
% }
% \begin{syntax}
+% \cs{sys_if_platform_unix_p:}
% \cs{sys_if_platform_unix:TF} \Arg{true code} \Arg{false code}
% \end{syntax}
% Conditionals which allow platform-specific code to be used. The names
More information about the latex3-commits
mailing list.