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

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Aug 10 15:09:23 CEST 2022


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

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

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

    Use a clearer default key name


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

2c55226dd12e77fb76ced95aed8efaa481f52013
 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 c06a9bdd..2d1cf5f9 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -190,11 +190,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.