ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 100, Issue 65
       [not found] <mailman.624.1351019830.2084.ntg-context@ntg.nl>
@ 2012-10-24  1:25 ` Shane Peelar
  0 siblings, 0 replies; only message in thread
From: Shane Peelar @ 2012-10-24  1:25 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1326 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1890 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-24  1:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.624.1351019830.2084.ntg-context@ntg.nl>
2012-10-24  1:25 ` ntg-context Digest, Vol 100, Issue 65 Shane Peelar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).