summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/coollist/coollist.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/coollist/coollist.sty')
-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}}%
{%