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

Tomas Hala tomas.hala at mendelu.cz
Mon Mar 4 18:42:42 CET 2019


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==}
%\setuphead [chapter][command=\MyChapterCommand]  %% does not work
 \setupheads[chapter][command=\MyChapterCommand]  %% does not work
\chapter{A}
\stoptext
===================



More information about the ntg-context mailing list