From eb15e60943eb3e31e4fab8cdaf8b0178b640f496 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 8 Oct 2007 16:33:10 +0000 Subject: coollist update (6oct07) git-svn-id: svn://tug.org/texlive/trunk@5139 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/coollist/coollist.sty | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/coollist') 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}}% {% -- cgit v1.2.3