26 Aug
2011
26 Aug
'11
4:38 a.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