[NTG-context] handling key=value sets with lua

2011-01-09 Thread Philipp A.
hi list, skip to the many %%% if you just want to help me ;) i need to make a macro which consists of ten optional arguments. it wouldn’t be too ugly to require to write the following to use it, since it outputs a 3×3 matrix with an adjacent tenth item, but tex can’t handle ten arguments afaik.

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread Hans Hagen
On 9-1-2011 11:13, Philipp A. wrote: i wanted to instead define bigcrafting to work like this: \bigcrafting [21=planks, 22=planks, 31=planks, 32=planks] [workbench] but \getparametershttp://wiki.contextgarden.net/Commands_with_KeyVal_argumentscan’t handle numerical values. Why

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread Philipp A.
2011/1/9 Hans Hagen pra...@wxs.nl On 9-1-2011 11:13, Philipp A. wrote: i wanted to instead define bigcrafting to work like this: \bigcrafting [21=planks, 22=planks, 31=planks, 32=planks] [workbench] but \getparameters

Re: [NTG-context] handling key=value sets with lua

2011-01-09 Thread luigi scarso
On Sun, Jan 9, 2011 at 11:13 PM, Philipp A. flying-sh...@web.de wrote: hi list, skip to the many %%% if you just want to help me ;) i need to make a macro which consists of ten optional arguments. it wouldn’t be too ugly to require to write the following to use it, since it outputs a 3×3