[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-detect: Use a clearer default key name (7e699648)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Aug 31 08:27:16 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : keyval-detect
Link       : https://github.com/latex3/latex2e/commit/7e699648861e7c282dc63a666c71943a5ded5356

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

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

    Use a clearer default key name


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

7e699648861e7c282dc63a666c71943a5ded5356
 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.