[latex3-commits] [latex3/latex2e] develop: standardize argument specifications across lt*.dtx (#1263) (a35c819c)

github at latex-project.org github at latex-project.org
Mon Feb 5 12:15:01 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/a35c819c3d6bf1b0608340712799e78b5db0b63f

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

commit a35c819c3d6bf1b0608340712799e78b5db0b63f
Author: mbertucci47 <61854785+mbertucci47 at users.noreply.github.com>
Date:   Mon Feb 5 04:15:01 2024 -0700

    standardize argument specifications across lt*.dtx (#1263)
    
    * standardize arg specs in ltsockets.dtx
    
    * update doc date
    
    * standardize arg specs in ltfilehook.dtx
    
    * Update ltproperties.dtx
    
    * standardize arg specs in ltmarks.dtx
    
    * standardize arg specs in lthooks.dtx


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

a35c819c3d6bf1b0608340712799e78b5db0b63f
 base/ltfilehook.dtx   |  4 ++--
 base/lthooks.dtx      | 22 +++++++++++-----------
 base/ltmarks.dtx      | 10 +++++-----
 base/ltproperties.dtx | 12 ++++++------
 base/ltsockets.dtx    | 24 ++++++++++++------------
 5 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 52d7ddc4..f7f3d9c8 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -32,7 +32,7 @@
 %
 %    \begin{macrocode}
 \providecommand\ltfilehookversion{v1.0o}
-\providecommand\ltfilehookdate{2023/12/26}
+\providecommand\ltfilehookdate{2024/02/04}
 %    \end{macrocode}
 %
 %<*driver>
@@ -407,7 +407,7 @@
 %
 % \begin{function}{\disable at package@load,\reenable at package@load}
 %   \begin{syntax}
-%     \cs{disable at package@load}  \Arg{package}  \Arg{alternate-code}
+%     \cs{disable at package@load}  \Arg{package} \Arg{alternate-code}
 %     \cs{reenable at package@load} \Arg{package}
 %   \end{syntax}
 %    If \meta{package} is requested do not load it but instead run
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 08f0d9ea..076ebc2b 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -32,7 +32,7 @@
 %
 %    \begin{macrocode}
 \def\lthooksversion{v1.1h}
-\def\lthooksdate{2024/01/24}
+\def\lthooksdate{2024/02/04}
 %    \end{macrocode}
 %
 %<*driver>
@@ -340,7 +340,7 @@
 %
 % \begin{function}{\AddToHook}
 %   \begin{syntax}
-%     \cs{AddToHook} \Arg{hook}\oarg{label}\Arg{code}
+%     \cs{AddToHook} \Arg{hook} \oarg{label} \Arg{code}
 %   \end{syntax}
 %    Adds \meta{code} to the \meta{hook} labeled by \meta{label}.
 %    When the optional argument \meta{label} is not provided, the
@@ -370,7 +370,7 @@
 %
 % \begin{function}[added=2023-06-01]{\AddToHookWithArguments}
 %   \begin{syntax}
-%     \cs{AddToHookWithArguments} \Arg{hook}\oarg{label}\Arg{code}
+%     \cs{AddToHookWithArguments} \Arg{hook} \oarg{label} \Arg{code}
 %   \end{syntax}
 %    Works exactly like \cs{AddToHook}, except that the \meta{code} can
 %    access the arguments passed to the hook using \verb|#1|, \verb|#2|,
@@ -398,7 +398,7 @@
 %
 % \begin{function}{\RemoveFromHook}
 %   \begin{syntax}
-%     \cs{RemoveFromHook} \Arg{hook}\oarg{label}
+%     \cs{RemoveFromHook} \Arg{hook} \oarg{label}
 %   \end{syntax}
 %    Removes any code labeled by \meta{label} from the \meta{hook}.
 %    When the optional argument \meta{label} is not provided, the
@@ -459,7 +459,7 @@
 %
 % \begin{function}{\AddToHookNext}
 %   \begin{syntax}
-%     \cs{AddToHookNext} \Arg{hook}\Arg{code}
+%     \cs{AddToHookNext} \Arg{hook} \Arg{code}
 %   \end{syntax}
 %    Adds \meta{code} to the next invocation of the \meta{hook}.
 %    The code is executed after the normal hook code has finished and
@@ -507,7 +507,7 @@
 %
 % \begin{function}[added=2023-06-01]{\AddToHookNextWithArguments}
 %   \begin{syntax}
-%     \cs{AddToHookNextWithArguments} \Arg{hook}\Arg{code}
+%     \cs{AddToHookNextWithArguments} \Arg{hook} \Arg{code}
 %   \end{syntax}
 %    Works exactly like \cs{AddToHookNext}, but the \meta{code} can
 %    contain references to the arguments of the \meta{hook} as described
@@ -522,7 +522,7 @@
 %
 % \begin{function}{\ClearHookNext}
 %   \begin{syntax}
-%     \cs{ClearHookNext}\Arg{hook}
+%     \cs{ClearHookNext} \Arg{hook}
 %   \end{syntax}
 %    Normally \cs{AddToHookNext} is only used when you know precisely
 %    where it will apply and why you want some extra code at that
@@ -746,7 +746,7 @@
 %
 % \begin{function}{\DeclareHookRule}
 %   \begin{syntax}
-%     \cs{DeclareHookRule} \Arg{hook}\Arg{label1}\Arg{relation}\Arg{label2}
+%     \cs{DeclareHookRule} \Arg{hook} \Arg{label1} \Arg{relation} \Arg{label2}
 %   \end{syntax}
 %    Defines a relation between \meta{label1} and \meta{label2} for a
 %    given \meta{hook}. If \meta{hook} is \texttt{??} this defines a default
@@ -807,7 +807,7 @@
 %
 % \begin{function}{\ClearHookRule}
 %   \begin{syntax}
-%     \cs{ClearHookRule}\Arg{hook}\Arg{label1}\Arg{label2}
+%     \cs{ClearHookRule} \Arg{hook} \Arg{label1} \Arg{label2}
 %   \end{syntax}
 %    Syntactic sugar for saying that \meta{label1} and \meta{label2}
 %    are unrelated for the given \meta{hook}.
@@ -817,7 +817,7 @@
 %
 % \begin{function}{\DeclareDefaultHookRule}
 %   \begin{syntax}
-%     \cs{DeclareDefaultHookRule}\Arg{label1}\Arg{relation}\Arg{label2}
+%     \cs{DeclareDefaultHookRule} \Arg{label1} \Arg{relation} \Arg{label2}
 %   \end{syntax}
 %   This sets up a relation between \meta{label1} and \meta{label2}
 %    for all hooks unless overwritten by a specific rule for a hook.
@@ -1004,7 +1004,7 @@
 %
 % \begin{function}{\DebugHooksOn,\DebugHooksOff}
 %   \begin{syntax}
-%     \cs{DebugHooksOn}
+%     \cs{DebugHooksOn} \ldots\ \cs{DebugHooksOff}
 %   \end{syntax}
 %    Turn the debugging of hook code on or off. This displays most changes
 %    made to the hook data structures. The output is rather coarse and
diff --git a/base/ltmarks.dtx b/base/ltmarks.dtx
index 564da5ea..1494ebef 100644
--- a/base/ltmarks.dtx
+++ b/base/ltmarks.dtx
@@ -16,7 +16,7 @@
 %
 %    \begin{macrocode}
 \def\ltmarksversion{v1.0e}
-\def\ltmarksdate{2024/01/29}
+\def\ltmarksdate{2024/02/04}
 %    \end{macrocode}
 %<*driver>
 \documentclass{l3doc}
@@ -156,7 +156,7 @@
 % \begin{function}{\InsertMark,\mark_insert:nn}
 %   \begin{syntax}
 %     \cs{InsertMark} \Arg{class} \Arg{text}
-%     \cs{mark_insert:nn}  \Arg{class} \Arg{text}
+%     \cs{mark_insert:nn} \Arg{class} \Arg{text}
 %   \end{syntax}
 %   Adds a mark to the current galley for the \meta{class}, containing the
 %   \meta{text}.
@@ -355,7 +355,7 @@
 % \begin{function}{\DebugMarksOn,\DebugMarksOff,
 %                  \mark_debug_on:,\mark_debug_off:}
 %   \begin{syntax}
-%     \cs{DebugMarksOn} ...  \cs{DebugMarksOff}
+%     \cs{DebugMarksOn} \ldots\ \cs{DebugMarksOff}
 %   \end{syntax}
 %
 %    Commands to turn the debugging of mark code on or off. The
@@ -399,8 +399,8 @@
 %
 % \begin{function}{\markboth, \markright}
 %   \begin{syntax}
-%     \cs{markboth}   \Arg{left} \Arg{right}
-%     \cs{markright}  \Arg{right}
+%     \cs{markboth}  \Arg{left} \Arg{right}
+%     \cs{markright} \Arg{right}
 %   \end{syntax}
 % \LaTeXe{} uses two marks which aren't fully independent. A
 %   \enquote{left} mark generated by the first argument of \cs{markboth}
diff --git a/base/ltproperties.dtx b/base/ltproperties.dtx
index 7606dfd5..3c73e3ac 100644
--- a/base/ltproperties.dtx
+++ b/base/ltproperties.dtx
@@ -23,7 +23,7 @@
 % for those people who are interested.
 %    \begin{macrocode}
 \def\ltpropertiesversion{1.0d}
-\def\ltpropertiesdate{2024-02-01}
+\def\ltpropertiesdate{2024-02-04}
 %    \end{macrocode}
 
 %<*driver>
@@ -157,8 +157,8 @@
 %
 % \begin{function}{\property_new:nnnn,\property_gset:nnnn}
 %   \begin{syntax}
-%     \cs{property_new:nnnn} \Arg{property} \Arg{setpoint} \Arg{default}  \Arg{code}
-%     \cs{property_gset:nnnn} \Arg{property}\Arg{setpoint} \Arg{default}  \Arg{code}
+%     \cs{property_new:nnnn}  \Arg{property} \Arg{setpoint} \Arg{default} \Arg{code}
+%     \cs{property_gset:nnnn} \Arg{property} \Arg{setpoint} \Arg{default} \Arg{code}
 %   \end{syntax}
 %  \LaTeXe-interface: see \cs{NewProperty}, \cs{SetProperty}.\\ 
 %   Sets the \meta{property} to have the \meta{default} specified, and at the
@@ -307,8 +307,8 @@
 % 
 % \begin{function}{\NewProperty,\SetProperty}
 %   \begin{syntax}
-%     \cs{NewProperty} \Arg{property} \Arg{setpoint} \Arg{default}  \Arg{code}
-%     \cs{SetProperty} \Arg{property} \Arg{setpoint} \Arg{default}  \Arg{code}
+%     \cs{NewProperty} \Arg{property} \Arg{setpoint} \Arg{default} \Arg{code}
+%     \cs{SetProperty} \Arg{property} \Arg{setpoint} \Arg{default} \Arg{code}
 %   \end{syntax}
 %   Sets the \meta{property} to have the \meta{default} specified, and at the
 %   \meta{setpoint} (either |now| or |shipout|) to write the result of the
@@ -342,7 +342,7 @@
 % 
 % \begin{function}{\IfPropertyExistTF}
 %   \begin{syntax}
-%     \cs{IfPropertyExistTF}  \Arg{property} \Arg{true code} \Arg{false code}
+%     \cs{IfPropertyExistTF} \Arg{property} \Arg{true code} \Arg{false code}
 %   \end{syntax}
 %   Tests if the \meta{property} has been declared.
 % \end{function}
diff --git a/base/ltsockets.dtx b/base/ltsockets.dtx
index 7d2940f4..3ae60cc9 100644
--- a/base/ltsockets.dtx
+++ b/base/ltsockets.dtx
@@ -32,7 +32,7 @@
 %
 %    \begin{macrocode}
 \def\ltsocketsversion{0.9a}
-\def\ltsocketsdate{2023-08-21}
+\def\ltsocketsdate{2024-02-04}
 %    \end{macrocode}
 %
 %<*driver>
@@ -530,8 +530,8 @@
 % 
 % \begin{function}{\NewSocket,\socket_new:nn}
 % \begin{syntax}
-% \cs{NewSocket}    \Arg{socket-name}\Arg{number-of-inputs}
-% \cs{socket_new:nn}\Arg{socket-name}\Arg{number-of-inputs}
+% \cs{NewSocket}     \Arg{socket-name} \Arg{number-of-inputs}
+% \cs{socket_new:nn} \Arg{socket-name} \Arg{number-of-inputs}
 % \end{syntax}
 %   Declares a new socket with name \meta{socket-name} having
 %   \meta{number-of-inputs} inputs. There is automatically a
@@ -563,9 +563,9 @@
 % 
 % \begin{function}{\NewSocketPlug,\socket_new_plug:nnn,\socket_set_plug:nnn}
 % \begin{syntax}
-% \cs{NewSocketPlug}      \Arg{socket-name}\Arg{socket-plug-name}\Arg{code}
-% \cs{socket_new_plug:nnn}\Arg{socket-name}\Arg{socket-plug-name}\Arg{code}
-% \cs{socket_set_plug:nnn}\Arg{socket-name}\Arg{socket-plug-name}\Arg{code}
+% \cs{NewSocketPlug}       \Arg{socket-name} \Arg{socket-plug-name} \Arg{code}
+% \cs{socket_new_plug:nnn} \Arg{socket-name} \Arg{socket-plug-name} \Arg{code}
+% \cs{socket_set_plug:nnn} \Arg{socket-name} \Arg{socket-plug-name} \Arg{code}
 % \end{syntax}
 %   Declares a new plug for socket \meta{socket-name} that runs
 %   \meta{code} when executing. It complains if the plug was already
@@ -582,8 +582,8 @@
 % 
 % \begin{function}{\AssignSocketPlug,\socket_assign_plug:nn}
 % \begin{syntax}
-% \cs{AssignSocketPlug}     \Arg{socket-name}\Arg{socket-plug-name}
-% \cs{socket_assign_plug:nn}\Arg{socket-name}\Arg{socket-plug-name}
+% \cs{AssignSocketPlug}      \Arg{socket-name} \Arg{socket-plug-name}
+% \cs{socket_assign_plug:nn} \Arg{socket-name} \Arg{socket-plug-name}
 % \end{syntax}
 %   Assigns the plug \meta{socket-plug-name} to the socket
 %   \meta{socket-name}. It errors if either socket or plug is not
@@ -595,8 +595,8 @@
 % 
 % \begin{function}{\UseSocket,\socket_use:nw,\socket_use:n,\socket_use:nn,\socket_use:nnn,\socket_use:nnnn}
 % \begin{syntax}
-% \cs{UseSocket}     \Arg{socket-name}
-% \cs{socket_use:nnn}\Arg{socket-name} \Arg{socket-arg\textsubscript{1}} \Arg{socket-arg\textsubscript{2}}
+% \cs{UseSocket}      \Arg{socket-name}
+% \cs{socket_use:nnn} \Arg{socket-name} \Arg{socket-arg\textsubscript{1}} \Arg{socket-arg\textsubscript{2}}
 % \end{syntax}
 %   Executes the socket \meta{socket-name} by retrieving the
 %   \meta{code} of the current plug assigned to the socket. This is
@@ -619,8 +619,8 @@
 % 
 % \begin{function}{\ShowSocket,\LogSocket,\socket_show:n,\socket_log:n}
 % \begin{syntax}
-% \cs{ShowSocket}   \Arg{socket-name}
-% \cs{socket_show:n}\Arg{socket-name}
+% \cs{ShowSocket}    \Arg{socket-name}
+% \cs{socket_show:n} \Arg{socket-name}
 % \end{syntax}
 %   Displays information about the socket \meta{socket-name} and its
 %   state then stops and waits for further instructions --- at the





More information about the latex3-commits mailing list.