Hi Hans,

why has the meaning of the command key changed in MkIV?


In MkII you can define a command which has as many argument as entries in the 
list.

% engine=pdftex

\usemodule[database]

\starttext

\define[3]\TestCommand{\ruledhbox{#1:#2:#3}}

\defineseparatedlist[test][command=\TestCommand]

\starttest
1,2,3
\stoptest

\stoptext


In MkIV the argument of the command key is applied to each entry in the list
and you can’t grab all entries with a single command.

\usemodule[database]

\starttext

\define[1]\TestCommand{\ruledhbox{#1}}

\defineseparatedlist[test][command=\TestCommand]

\starttest
1,2,3
4,5,6
\stoptest

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to