[latex3-commits] [latex3/l3build] main: Document full syntaxes of `\SHOWFILE` and `\ASSERT(STR)` (809e98e)
github at latex-project.org
github at latex-project.org
Thu Dec 7 21:04:07 CET 2023
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/809e98e5d4e16d75f3ed92cb2474587e9b60f74b
>---------------------------------------------------------------
commit 809e98e5d4e16d75f3ed92cb2474587e9b60f74b
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Fri Dec 8 03:58:37 2023 +0800
Document full syntaxes of `\SHOWFILE` and `\ASSERT(STR)`
>---------------------------------------------------------------
809e98e5d4e16d75f3ed92cb2474587e9b60f74b
CHANGELOG.md | 1 +
l3build.dtx | 11 ++++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70f4b1e..ef5fdc2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
### Changed
- Document default value of `ctanpkg` as a valid lua expression
- Improve log for failed checks with no diff files
+- Document full syntaxes of `\SHOWFILE` and `\ASSERT(STR)`
### Fixed
- Short-circuit `check --rerun` if `testdir` doesn't exist
diff --git a/l3build.dtx b/l3build.dtx
index 2705586..ff6b5d1 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -977,12 +977,13 @@
% \cs{BEGINTEST}\marg{title} \dots \cs{ENDTEST} is an environment form of
% \cs{TEST}, allowing verbatim material, \emph{etc.} to appear.
% \item
-% \cs{SHOWFILE} (\eTeX{} only) Shows the content of the file given as an
-% argument.
+% \cs{SHOWFILE}\marg{filename} (\eTeX{} only) Shows the content of
+% \meta{filename}.
% \item
-% \cs{ASSERT} and \cs{ASSERTSTR} Asserts if the full expansion
-% of the two required arguments are the same: the \cs{ASSERT} function is
-% token-based, the \cs{ASSERTSTR} works on a string basis.
+% \cs{ASSERT}\marg{arg_1}\marg{arg_2} and \cs{ASSERTSTR}\marg{arg_1}\marg{arg_2}
+% Asserts if the full expansion of \meta{arg_1} and \meta{arg_2} are the same:
+% the \cs{ASSERT} function is token-based,
+% the \cs{ASSERTSTR} works on a string basis.
% \end{itemize}
% An example of some of these commands is shown following.
% \begin{Verbatim}
More information about the latex3-commits
mailing list.