On Wed, Jul 23, 2008 at 08:37:12AM +0200, Wolfgang Schuster wrote:
> 2008/7/22 Mehdi Omidali <[EMAIL PROTECTED]>:
> > Hi,
> > Please look at the attached file. Why numbering starts from zero?
> 
> Your ConTeXt could be too old or you run texexec only once, try to run
> texexec at least twice and the numbering should be correct.

I think this is a bug in converters.alphabetic function, it doesn't
handle zero and seem to convert 1->0 2->1 etc. The following code:

\ctxlua{converters.alphabetic(0,"arabic")}
\ctxlua{converters.alphabetic(123456789,"arabic")}

gives "0 ٠١٢٣٤٥٦٧٨", while it should give "٠١٢٣٤٥٦٧٨٩".

Regards,
 Khaled

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

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
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