Hi,
I've just ran into a behaviour that runs against what is shown on the wiki,
https://wiki.contextgarden.net/System_Macros/Comma_Separated_Lists
Maybe a bug?
The wiki says you can use \getcommacommandsize to get the length of a comma
separated list, but it does not seem to work. MWE below.
Best,
Denis
\define\somelist
{foo, bar, baz}
\starttext
\getcommacommandsize[\somelist]
\commalistsize
% Expected : 3
% Actual : 1
\expandafter\getcommalistsize\expandafter[\somelist]
\commalistsize
% Expected : 3
% Actual : 3
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________