[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Use a clearer default key name (370d30f5)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Sep 1 22:17:07 CEST 2022


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

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

commit 370d30f5bb8dff0d331ddbbdf7c86b03d97723ef
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Aug 10 14:09:23 2022 +0100

    Use a clearer default key name


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

370d30f5bb8dff0d331ddbbdf7c86b03d97723ef
 base/doc/ltnews36.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index 547be43c..7405faad 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -216,11 +216,11 @@ of keyvals, it will be converted into a single key--value pair, with
 the argument to \texttt{=} specifying the name of that key. For
 example, the \cs{caption} command could be defined as
 \begin{verbatim}
-  \DeclareDocumentCommand\caption{s ={TOC-text}+O{#3} +m}
+  \DeclareDocumentCommand\caption{s ={short-text}+O{#3} +m}
 \end{verbatim}
 which would mean that if the optional argument does \emph{not}
 contain keyval data, it will be converted to a single keyval
-pair with the key name \texttt{TOC-text}.
+pair with the key name \texttt{short-text}.
 
 Arguments which begin with \texttt{=,} are always interpreted as
 keyvals even if they do not contain further \texttt{=} signs.





More information about the latex3-commits mailing list.