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
___________________________________________________________________________________
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