From 910f17406a3ea5f8b5a497fd10c0a9733ea80a65 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 17 Feb 2024 20:52:08 +0000 Subject: codedescribe (17feb24) git-svn-id: svn://tug.org/texlive/trunk@69943 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/codedescribe/README.md | 5 ++++- .../doc/latex/codedescribe/codedescribe.pdf | Bin 252057 -> 252555 bytes .../doc/latex/codedescribe/codedescribe.tex | 17 ++++++++--------- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/codedescribe/README.md b/Master/texmf-dist/doc/latex/codedescribe/README.md index 218cb142027..e4fb229aa17 100644 --- a/Master/texmf-dist/doc/latex/codedescribe/README.md +++ b/Master/texmf-dist/doc/latex/codedescribe/README.md @@ -87,7 +87,10 @@ The Current Maintainer of this work is Alceu Frigeri ## Changelog -* Version 1.3 (this) +* Version 1.4 (this) + - The 'new', 'update' and 'info' keys can, now, be used multiple times when declaring a codedescribe environment. (see documentation). + +* Version 1.3 - Added \tsresult, a command to just show the result of a stored code (codelisting specific). diff --git a/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf b/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf index 45271b09d63..d2f654f7f7f 100644 Binary files a/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf and b/Master/texmf-dist/doc/latex/codedescribe/codedescribe.pdf differ diff --git a/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex b/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex index 94e9dd8ba40..519c48eb58c 100644 --- a/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex +++ b/Master/texmf-dist/doc/latex/codedescribe/codedescribe.tex @@ -15,7 +15,7 @@ %% %% The Current Maintainer of this work is Alceu Frigeri %% -%% This is version {1.3} (2023/05/16) +%% This is version {1.4} {2024/02/17} %% %% The list of files that compose this work can be found in the README.md file at %% https://ctan.org/pkg/codedescribe @@ -96,7 +96,7 @@ All \tsobj[code]{\tscode,\tsdemo} commands create a local group in which the \t \end{tsremark} \end{codedescribe} -\begin{codedescribe}[code,new=2024-01-06]{\tscode*,\tsdemo*,\tsresult*} +\begin{codedescribe}[code,update=2024/01/06]{\tscode*,\tsdemo*,\tsresult*} \begin{codesyntax}% \tsmacro{\tscode*}[code-keys]{st-name} \tsmacro{\tsdemo*}[code-keys]{st-name} @@ -106,7 +106,7 @@ All \tsobj[code]{\tscode,\tsdemo} commands create a local group in which the \t \tsmacro{\tsdemo*}{} first typesets \tsobj[meta]{st-name}, as above, then it \emph{executes} said code. The non-start versions place them side-by-side, whilst the star versions places one following the other. -(new) \tsmacro{\tsresult*}{} only \emph{executes} said code. The non-start versions centers it and use just half of the base line, whilst the star versions uses the full text width. +(new 2024/01/06) \tsmacro{\tsresult*}{} only \emph{executes} said code. The non-start versions centers it and use just half of the base line, whilst the star versions uses the full text width. \end{codedescribe} @@ -261,7 +261,7 @@ Using \tsobj{\defgroupfmt} one can (re-)define custom \tsobj[arg]{format-groups} \tsobj[keys]{color} was used in the list above just as a 'reminder' that a color is defined/associated with the given group. \end{tsremark} -\subsubsection{Object Types} +\subsubsection{Object Types}\label{obj-types} Using \tsobj{\defobjectfmt} one can (re-)define custom \tsobj[arg]{obj-types}. Similarly, there is a set of predefined ones, as follow: @@ -315,21 +315,20 @@ For instance, the many optional \tsobj[arg]{*arg} are defined as follow: \subsection{Environments} -\begin{codedescribe}[env,new=2023/05/01,update=2023/05/1,note={this is an example}]{codedescribe} +\begin{codedescribe}[env,new=2023/05/01,update=2023/05/01,note={this is an example},update=2024/02/16]{codedescribe} \begin{codesyntax} \tsmacro{\begin{codedescribe}}[obj-type]{csv-list} \ldots \tsmacro{\end{codedescribe}}{} \end{codesyntax} -This is the main environment to describe \tsobj[env]{Macros, Functions, Variable, Environments, etc.} \tsobj[meta]{csv-list} is typeset in the margin. The optional \tsobj[oarg]{obj-type} defines the object-type format. +This is the main environment to describe \tsobj[env]{Macros, Functions, Variable, Environments, etc.} \tsobj[meta]{csv-list} is typeset in the margin. The optional \tsobj[oarg]{obj-type} (see \ref{obj-type-def} and \ref{obj-types}) defines the object-type format. \end{codedescribe} \begin{tsremark}[Note~1:] One can change the rule color with the key \tsobj[keys]{rulecolor}, for instance \tsmacro{\begin{codedescribe}[rulecolor=white]}{} will remove the rules. \end{tsremark} \begin{tsremark}[Note~2:] -Besides that, one can use the keys \tsobj[keys]{new,update,note} to further customize it as: \tsverb{\begin{codedescribe} [new=2023/05/01, update=2023/05/1, note={this is an example}]} +Besides that, one can use the keys \tsobj[keys]{new,update,note} to further customize it. (2024/02/16 these keys can also be used multiple times). \end{tsremark} - \begin{tsremark}[Note~3:] Finally, one can use \tsobj[key]{EXP,rEXP} to add a star \ding{72} or a hollow star \ding{73}, as per expl3/doc3 conventions (if expandable, restricted expandable or not). \end{tsremark} @@ -354,7 +353,7 @@ The \tsobj[env]{codesyntax} environment sets the fontsize and activates \tsmacro For example, the code for \tsobj[env]{codedescribe} (entry above) is: \begin{codestore}[demoD] -\begin{codedescribe}[env,new=2023/05/01,update=2023/05/1,note={this is an example}]{codedescribe} +\begin{codedescribe}[env,new=2023/05/01,update=2023/05/01,note={this is an example},update=2024/02/16]{codedescribe} \begin{codesyntax} \tsmacro{\begin{codedescribe}}[obj-type]{csv-list} \ldots -- cgit v1.2.3