summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/coollist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-08 16:33:10 +0000
committerKarl Berry <karl@freefriends.org>2007-10-08 16:33:10 +0000
commiteb15e60943eb3e31e4fab8cdaf8b0178b640f496 (patch)
tree13ba1b504d61db748db5a0090f133133e7677d63 /Master/texmf-dist/tex/latex/coollist
parent916ce7699b1500b6cb97f5534039b37eb5d33fb4 (diff)
coollist update (6oct07)
git-svn-id: svn://tug.org/texlive/trunk@5139 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/coollist')
-rw-r--r--Master/texmf-dist/tex/latex/coollist/coollist.sty10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/coollist/coollist.sty b/Master/texmf-dist/tex/latex/coollist/coollist.sty
index 9755c476d24..05c1c43914a 100644
--- a/Master/texmf-dist/tex/latex/coollist/coollist.sty
+++ b/Master/texmf-dist/tex/latex/coollist/coollist.sty
@@ -13,7 +13,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{coollist}
- [2006/08/14 v1 COntent Oriented LaTeX Lists]
+ [2007/10/06 v1.1 COntent Oriented LaTeX Lists]
\RequirePackage{ifthen}
\RequirePackage{amsmath}
\RequirePackage{amssymb}
@@ -63,10 +63,16 @@
}%
}%
\newcommand{\listval}[2]{%
- \setcounter{COOL@listpointer}{1}%
+\ifthenelse{\equal{#1}{}}%
+{%
+\setcounter{COOL@listpointer}{0}%
+}%
+{%
+\setcounter{COOL@listpointer}{1}%
\setboolean{COOL@found}{false}%
\COOL@listgobble[#2]#1,\COOL@listStop,\COOL@listEnd%
}%
+}%
\def\COOL@liststore@gobbler[#1]#2,#3,\COOL@listEnd{%
\ifthenelse{\equal{#3}{\COOL@listStop}}%
{%