Bart C. Wise wrote:
> I would like to display chapter headings spelling out the numbers into words. 
>  
> For example:
> 
> Chapter One
> Chapter Two
> Chapter Three
> etc.
> 
> I thought that I could put a conversion in the setuphead function; however, 
> it 
> doesn't appear to be supported.  So how to I do the conversion?

By using \setupsection, like this:

   \def\englishnumbers#1%
      {\ifcase#1 \or One\or Two\or Three\or Four\or Five\fi}
   \defineconversion[englishnumbers][\englishnumbers]

   \setupsection[chapter][conversion=englishnumbers]

Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to