Aditya Mahajan wrote:
Hi, I tried an example from syst-gen.tex
\def\dosomething#1{(#1=\commalistsize) } \getcommalistsize [\hbox{$a,b,c,d,e,f$}] \dosomething 1 \getcommalistsize [{a,b,c,d,e,f}] \dosomething 1 \getcommalistsize [{a,b,c},d,e,f] \dosomething 4 \getcommalistsize [a,b,{c,d,e},f] \dosomething 4 \getcommalistsize [a{b,c},d,e,f] \dosomething 4 \getcommalistsize [{a,b}c,d,e,f] \dosomething 4 \getcommalistsize [] \dosomething 0 \getcommalistsize [{[}] \dosomething 1
And it gives me
(1=1) (1=6) (4=4) (4=4) (4=4) (4=4) (0=0) (1=1)
Notice that \getcommalistsize[{a,b,c,d,e,f}] gives 6. Is this expected behaviour or a bug?
Looks like a bug to me, unless Hans changed this on purpose? Taco