Am 28.06.10 23:33, schrieb Tom:
> The "lazy" method below yields eleven pages, each of which is headed by n
> Chapter n, where n represents the numerals from 1 to 11. The text version
of
> the chapter numbers do not appear.
>
>
\defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te
> n,Eleven]
>
> \setuphead[chapter]
>   [conversion=numstring]
>    

How should i know you're using mkii! Replace \setuphead with \setupsection:

\setupsection[chapter][conversion=numstring]

Wolfgang

The following example converts chapter numbers to words for the \chapter
logic but also converts chapter numbers to words in unwanted places such as
in the TOC and section numbers in the text.

\defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te
n,Eleven]

\setupsection[chapter]
 [conversion=numstring]  

\starttext

\completecontent
\dorecurse{11}{\chapter{Chapter #1}\par\section{Example section}}

\stoptext

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey



___________________________________________________________________________________
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