> Date: Tue, 23 Oct 2012 20:31:01 +0200
> From: Wolfgang Schuster <wolfgang.schus...@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-c4ed1065b...@gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
>
> Am 23.10.2012 um 19:36 schrieb Shane Peelar <lookatyouhac...@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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to