On 13-5-2012 13:12, Philipp Gesang wrote:
Hi all,
seems the mkvi-style macros have trouble with groups in comments:
········································································ % macros=mkvi \def\dosomething#content{%%%<= fine with “#1” % { %%% Open unbalanced brace breaks macros. }
\starttext \dosomething {foo} \stoptext ········································································
Fails here with:
<to be read again> c l.2 \def\dosomething#c ontent{%%%<= fine with “#1”
Removing the comment, closing the group or reverting to TEX-style argument numbering makes this behavior disappear.
Indeed there are some limitations to the parser. I'll note it down as low priority issue. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------