Re: [NTG-context] ntg-context Digest, Vol 100, Issue 65
![](https://secure.gravatar.com/avatar/19b106c5877a79aaf7350b8a15a3b062.jpg?s=120&d=mm&r=g)
Date: Tue, 23 Oct 2012 20:31:01 +0200 From: Wolfgang Schuster
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations Message-ID: <8F139542-5A13-4FDD-B916-C4ED1065B79E@gmail.com> Content-Type: text/plain; charset=windows-1252 Am 23.10.2012 um 19:36 schrieb Shane Peelar
: Hi Wolfgang,
Thanks for the quick and helpful reply. Is there also a way to change just the number colour and style in the example you provided?
\defineseparatorset [testseparator] [][?]
\defineprocessor[teststyle][style=bolditalic] \defineconversionset[testconversion][][teststyle->number]
%\defineprocessor[one][style=italic,color=red] %\defineprocessor[two][style=normal,color=blue]
%\defineconversionset[testconversion][one->number,two->number][teststyle->number]
\defineenumeration [test] [text=Test, headstyle=bold, numberconversionset=testconversion, numberseparatorset=testseparator]
\starttext
\placelist[test]
\starttest[title={Knuth}] \input knuth \stoptest
\startsubtest[title={Zapf}] \input zapf \stopsubtest
\stoptext
Wolfgang
Thanks! This worked out perfectly.
participants (1)
-
Shane Peelar