![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
25 Aug
2011
25 Aug
'11
10:17 p.m.
Hi, \setuphead[section] [alternative=command, command=\TitleCommand] \def\TitleCommand#1#2{#2} \starttext \section{Test} \stoptext gives ! Argument of \@@ns::normal has an extra }. Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
25 Aug
25 Aug
10:38 p.m.
Am 26.08.2011 um 06:17 schrieb Aditya Mahajan:
Hi,
\setuphead[section] [alternative=command, command=\TitleCommand]
\def\TitleCommand#1#2{#2}
\starttext \section{Test} \stoptext
gives
! Argument of \@@ns::normal has an extra }.
strc-sec.mkiv: \def\setheaddisplay - {\doifelsevalue{\??nh:\headparameter\c!alternative}\v!horizontal + {\doifelsevalue{\??ns:\headparameter\c!alternative}\v!horizontal {\setfalse\headisdisplay} {\settrue \headisdisplay}} Wolfgang
4708
Age (days ago)
4708
Last active (days ago)
1 comments
2 participants
participants (2)
-
Aditya Mahajan
-
Wolfgang Schuster