Tomas Hala schrieb am 04.03.19 um 18:42:
Hi all,

compiling the ME below (ConTeXt from TeXlive) I got this error message:

! Argument of \MyChapterCommand has an extra }

and I do not know why. What am I doing wrong?

Best wishes,

Tomáš

===================
\starttext
\def\MyChapterCommand#1#2{::#1//#2==}

Use

\define[2]\MyChapterCommand{::#1//#2==}

or

\unexpanded\def\MyChapterCommand#1#2{::#1//#2==}

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to