Mojca Miklavec wrote:
On Tue, Jul 22, 2008 at 9:39 PM, Mehdi Omidali wrote:
Dear Mojca, Thanks for your complete answer. In fact, in persian (and maybe arabic) documents, we need every digit be in persian,
But when you write, you probably write numbers in persian already?
like chapter, section,
\chapter and \section are a bit buggy as far as numbering is concerned, but you can use \setuphead [section] [conversion=arabicnumerals]
the section numbering has to take too many things into account (there are sveral places where one can hook in conversion commands); complications are for instance in supporting chinese (left/right stuff) and separators; one problem is that the number needs to be expanded when it is written to lists; separator handlign (esp replacement) then can become rather hairy too concerning left/right handling ... there has been added some trickery when idris needed it and was still using otp's but since otp's were error prone, this can easily interfere with other things anyhow, in mkiv there will be a more flexible mechanism with more data being carried around so that in various stages one can tweak things like conversions, separators, prefixes is much more detail (which then of course will lead to more demands) Hans (btw, you really don't want to know what numbering we have to use in our projects; it hardly fits a model) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------