Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread 土卜皿
hi,ℤh핚chu ℂh핖n Thanks! I will check it later! Best Regards Dillon 2015-07-05 11:40 GMT+08:00 Zhichu Chen chenzhi...@sinap.ac.cn: Hi Dillon, First of all, I'm against defining such a complex macro, since that can be very confusing when you use it. I personal prefer the key-value

Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread Jaroslav Hajtmar
Hi Dillon There is also a purely plaintex solutions for example: % Here is Peter Olsak solution (see TBN: ftp://math.feld.cvut.cz/olsak/tbn/tbn.pdf - czech only) \def\terminator{*} \def\usethereadvalues{} \newcount\tempnum \def\readparameters{\tempnum=0\let\next=\readonlyone \next}

Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread Zhichu Chen
Hi Dillon, First of all, I'm against defining such a complex macro, since that can be very confusing when you use it. I personal prefer the key-value definition: \def\DEFINETEST[#1]{% \getXXXparameters [paraA=defaultValueForParameterA% ,paraB=% or just empty ,#1]%