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} \def\read

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 : > 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\DEFINET

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]% \doSomethingWi

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

2015-07-04 Thread 土卜皿
hi, all For testing, I have a definition: \define[9]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9} context test can work fine, when I modify the above into: \define[10]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9,#10} I got a error: test.tex: ! Illegal parameter number in definition of \DEFINETEST >From