[NTG-context] Question to key commnad at \setuphead

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Mar 4 18:50:27 CET 2019


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


More information about the ntg-context mailing list