On 11/10/2012 2:43 PM, Marco Patzer wrote:
2012-11-10 Marco Patzer:
2012-11-10 Hans Hagen:
On 11/10/2012 1:38 PM, Andrew Dowell wrote:
Chapter One
This is the Name of the First Chapter
I assume the OP was looking for a way to convert a counter to the
corresponding English word:
\defineconversion
[words]
[One, Two, Three, Four, Five]
I forgot to add how to hook this into Hans' example:
\defineconversion
[words]
[One, Two, Three, Four, Five]
\setuphead
[chapter]
[header=high,
command=\MyChapterTitle,
style=\bfc,
conversion=words,
numberstyle=\bfb]
I've added
conversion=Words (and words)
(currently english only)
(probably needs testing)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________