diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-24 03:01:03 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-24 03:01:03 +0000 |
commit | 9c5706814f2f593a9f52c51ad02b61e9bacd9ee4 (patch) | |
tree | fd31ea72f451724d8ad7908c945f0f6a40cdcda9 /macros/latex/contrib/macrolist | |
parent | 9e46b83b2d49ad6f5d4285266a81c9af1dd3d74e (diff) |
CTAN sync 202107240301
Diffstat (limited to 'macros/latex/contrib/macrolist')
-rw-r--r-- | macros/latex/contrib/macrolist/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/macrolist/macrolist.dtx | 13 | ||||
-rw-r--r-- | macros/latex/contrib/macrolist/macrolist.pdf | bin | 188569 -> 184302 bytes |
3 files changed, 12 insertions, 3 deletions
diff --git a/macros/latex/contrib/macrolist/README.md b/macros/latex/contrib/macrolist/README.md index 61ac3d679d..8eff3b4f96 100644 --- a/macros/latex/contrib/macrolist/README.md +++ b/macros/latex/contrib/macrolist/README.md @@ -1,4 +1,4 @@ -# The LaTeX package macrolist - version 1.0.2 (2021/07/17) +# The LaTeX package macrolist - version 1.1.1 (2021/07/23) > Copyright (C) 2021 Dennis Chen <proofprogram@gmail.com> > diff --git a/macros/latex/contrib/macrolist/macrolist.dtx b/macros/latex/contrib/macrolist/macrolist.dtx index 7a564fc448..3ccbc85edc 100644 --- a/macros/latex/contrib/macrolist/macrolist.dtx +++ b/macros/latex/contrib/macrolist/macrolist.dtx @@ -16,7 +16,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{macrolist}[2021/07/16 v1.0.1 Create lists of macros and perform operations on them] +\ProvidesPackage{macrolist}[2021/07/23 v1.1.1 Create lists of macros and perform operations on them] \RequirePackage{pgffor} %</package> @@ -75,6 +75,14 @@ } % \fi % +% \changes{v1.1.0}{2021/07/22}{Add listexists} +% \DescribeMacro{\listexists} +% Writing |\listexists{listname}{true}{false}| will execute \textsf{true} if \textsf{listname} exists and \textsf{false} otherwise. +% +% \iffalse +\newcommand{\listexists}[3]{\ifcsname c@macrolist@list@#1\endcsname#2\else#3\fi} +% \fi +% % \DescribeMacro{\listelement} % % To execute the \textsf{i}th element of \textsf{listname}, write |\listelement{listname}{i}|. Note that \textit{lists are 1-indexed}, meaning the first element is numbered 1, the second element numbered 2, and so on. @@ -178,10 +186,11 @@ % \fi % % \DescribeMacro{\listforeach} +% \changes{v1.1.1}{2021/07/23}{Fix foreach doc by removing incorrect begin} % % To write a for each loop, write % \begin{verbatim} -%\begin{listforeach}{listname}{\element}[begin][end]{action} +%\listforeach{listname}{\element}[begin][end]{action} % \end{verbatim} % % diff --git a/macros/latex/contrib/macrolist/macrolist.pdf b/macros/latex/contrib/macrolist/macrolist.pdf Binary files differindex 1f5be69f8b..94986e435d 100644 --- a/macros/latex/contrib/macrolist/macrolist.pdf +++ b/macros/latex/contrib/macrolist/macrolist.pdf |