[NTG-context] \getcommacommandsize not working in lmtx

denis.maier at unibe.ch denis.maier at unibe.ch
Mon May 2 09:37:55 CEST 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220502/d612f048/attachment.htm>


More information about the ntg-context mailing list