Taco Hoekwater wrote:
Idris Samawi Hamid wrote:
Dear cartel,
\head\relax \type{ {A} }
Not a solution, but a workaround:
\head\relax \expandafter\type\scantokens{{ {A} }}
(I don't know how to solve this)
I do, but i have no idea how robust it is ... % in cont-new.tex \unprotect \def\dostartitemattributes#1{\dostartattributes{\??op\currentitemgroup#1}} \def\dostopitemattributes {\dostopattributes} \def\complexdoitemgrouphead[#1]% beter in \complexdosom hangen met een if {\iffirstlist\else\doitembreak\allowbreak\fi \ifpackeditems\else\getitemparameter\itemlevel\c!beforehead\fi \iffirstlist\ifitemintro\else\ifcase\itemlevel % incr in \complexdosom \doitembreak\allowbreak \fi\fi\fi \complexdoitemgroupitem[#1]% \bgroup \dostartitemattributes\itemlevel\c!headstyle\c!headcolor\empty \ignorespaces \let\par\enditemhead} % brrrr but simple anyway \def\enditemhead {\removeunwantedspaces \dostopitemattributes \egroup \iftextitems \space\ignorespaces \else \par \fi \doitembreak\nobreak \ifpackeditems\else\getitemparameter\itemlevel\c!afterhead\fi \doitembreak\nobreak \noindentation} \protect % test file \starttext \setupitemgroup[itemize][1][headcolor=red,headstyle=bold] \setupcolors[state=start] (\type{ {A} }) \startitemize \head \input tufte (\type{ {A} }) \input tufte \par \input tufte \item \input tufte (\type{ {A} }) \input tufte \stopitemize \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------