Sanjoy Mahajan wrote: > This minimal file [case 1]: > > \setuphead[chapter][numbercommand={\gobbleoneargument} > ] > \starttext > \chapter{One} > \stoptext > > fails. Whereas if the first two lines are replaced by [case 2]: > in this case the command is
"{\gobbleoneargument} " and {\gobbleoneargument} {some text} will fail because gobble runs into an } > \setuphead[chapter][numbercommand={\gobbleoneargument}, > ] > in this case the command is {\gobbleoneargument" and \gobbleoneargument{some text} work sok > or [case 3]: > > \setuphead[chapter][numbercommand={\gobbleoneargument}] > > then it's fine. Is this a bug or a feature of TeX's tricky spacing > rules? And how can I think about ConTeXt's parsing in way that the > difference between cases 1 and 2,3 is obvious? > idem it's [key=value] [key=value, nextkey=nextvalue] (spaces are dropped after the comma) so in [key=value ,nextkey=nextvalue] the comma before the , is part of key's value ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context