Am 05.12.2013 um 08:48 schrieb Mingranina Gingranina <mingran...@gmail.com>:
> On 11/30/13, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: >> >> Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina >> <mingran...@gmail.com>: >> >>> Dear All, >>> Hello, >>> >>> How can I force ConTeXt to use Persian numbers for page numbering? >> >> \setuppagenumber[numberconversion=persiannumerals] > > Dear Wolfgang, > Hello, > > First of all let me thank you very much for your reply. > > With the above command the page number is now typeset in Persian, but > it uses Persian letters not Persian digits. My code is: \defineconversion [myconversion] [۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰, ۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰, ۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰] \setuppagenumber[numberconversion=myconversion] \setupbodyfont[dejavu,ss] \starttext \dorecurse{30}{\dontleavehmode\page} \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________