Date: Tue, 23 Oct 2012 20:31:01 +0200
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
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 <lookatyouhacker@gmail.com>:
> 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.