Wednesday, May 28, 2003 Slawek Zak wrote: SZ> There is a bug in enumerations' implementation. The following example SZ> is nearly literally taken from english ConTeXt manual SZ> (cont-eni.pdf, p. 224) SZ> See this example: SZ> \defineenumeration[step] SZ> [location=left,text={},width=2em] SZ> \setupenumerations[step] [headstyle=bold] SZ> \setupenumerations[substep][headstyle=slanted] SZ> \starttext SZ> \step One \par SZ> \substep Two \par SZ> \stoptext SZ> The headstyle for substep is bold, just like for step, and not slanted SZ> as stated in the manual. As a temporary patch, put the following in your cont-loc and tell me how it works out. If you don't have a cont-loc, put it in your cont-new. =============================================================================== \def\special@@definitiewoord#1#2#3#4[#5]#6#7% {\strut \doifelsevalue{\??dd#1\c!nummer}\v!nee \!!doneafalse {\doifelse{#5}{-} \!!doneafalse \!!doneatrue}% \chardef\definitiekoppeling\zerocount \iflocation \doifvaluesomething{\??dd#1\c!koppeling} {\processaction % genereert > of < [\getvalue{\??dd#1\c!koppelwijze}] [ \v!lokaal=>\chardef\definitiekoppeling1, % old: default \v!globaal=>\chardef\definitiekoppeling2]}% new: global crosslinking \fi \stelnummerin % the number is called indirectly [\getvalue{\??dd#1\??dd\c!nummer}] [\c!sectienummer=\getvalue{\??dd#1\c!sectienummer}]% \if!!donea \getvalue{\e!volgende#2#1}% \iflocation \bgroup \letvalue{\??dd#1\c!sectienummer}\v!ja \protectconversion \maakvoorafgaandenummer[\getvalue{\??dd#1\??dd\c!nummer}]% \preparethenumber{\??dd#1}\voorafgaandenummer\preparednumber \ifcase\definitiekoppeling \or \xdef\internaldoornummer{#3{#1}}% \rawreference\s!num{#1:\internaldoornummer}{}% \or \xdef\internaldoornummer{\countervalue{\??dd\c!koppeling#1}}% \rawreference\s!num{#1:\internaldoornummer}{}% \fi \egroup \fi \maakvoorafgaandenummer[\getvalue{\??dd#1\??dd\c!nummer}]% \preparethenumber{\??dd#1}\voorafgaandenummer\preparednumber \hbox {\let\normalkap\relax % sorry, uppercase causes troubles \doattributes % \nocase primitive needed {\??dd#2#1}\c!kopletter\c!kopkleur {\getvalue{\??dd#1\c!commando}% hook for taco {\showdntext{#2#1}% \domakednnummer{#1}{#2}{#3}}}% \iflocation\ifcase\definitiekoppeling \else \edef\localconnection{\getvalue{\??dd#1\c!koppeling}:\internaldoornummer}% \doifreferencefoundelse\localconnection {\in[\localconnection]}{}% genereert > of < \fi\fi}% \doifnot{#5}{-}{\rawreference\s!num{#5}{#3{#1}}}% \else % Why was this strange expansion needed? \hbox {\edef\!!stringa{\showdnpuretext{#2#1}}% nog eens testen binnen \expanded \expanded{\doattributes{\??dd#1}\noexpand\c!kopletter\noexpand\c!kopkleur {\noexpand\getvalue{\??dd#1\c!commando}{\!!stringa}}}% \doifnot{#5}{-}{\rawreference\s!num{#5}{}}}% \fi} =============================================================================== FOR HANS: I added a #2 in the \doattributes for kopletter and kopkleur. -- Giuseppe "Oblomov" Bilotta