summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/macrolist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-23 20:09:03 +0000
committerKarl Berry <karl@freefriends.org>2021-07-23 20:09:03 +0000
commit6b49584f490f33f265a297d5fe95dc73d8201292 (patch)
tree8eb33d0d31a5bbe28274fc2ceb751b9e130b0ca8 /Master/texmf-dist/tex/latex/macrolist
parent17435dbc87ef4c15ed383dffdb4b2ba093bb0fa8 (diff)
macrolist (23jul21)
git-svn-id: svn://tug.org/texlive/trunk@60028 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/macrolist')
-rw-r--r--Master/texmf-dist/tex/latex/macrolist/macrolist.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/macrolist/macrolist.sty b/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
index 03cf5a54166..75d07fba281 100644
--- a/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
+++ b/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
@@ -15,7 +15,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{macrolist}[2021/07/16 v1.0.1 Create lists of macros and perform operations on them]
+\ProvidesPackage{macrolist}[2021/07/22 v1.1.0 Create lists of macros and perform operations on them]
\RequirePackage{pgffor}
@@ -27,6 +27,7 @@
\setcounter{macrolist@list@#1}{0}
\fi
}
+\newcommand{\listexists}[3]{\ifcsname c@macrolist@list@#1\endcsname#2\else#3\fi}
\newcommand{\listelement}[2]{%
\macrolist@inbounds{#1}{#2}%
\csname macrolist@list@#1\the\numexpr #2\relax\endcsname%