Hi Hans,
It seems that Arabic or Persian numerals (for instance in section
numbers) in mkiv begin at 0, instead of 1… well it is true that in
Mathematics natural integers begin with 0, but not in books in those
languages :-)
Here is a minimal example:
\setupdirections[bidi=global]
\pagedir TRT
\bodydir TRT
\pardir TRT
\textdir TRT
\starttypescript[serif][arabic]
\usetypescript[serif][fallback]
\definefontsynonym [Serif][name:SimpleNaskhi] [features=arabic]
\stoptypescript
\starttypescript [arabic]
\definetypeface [arabic][rm] [serif] [arabic] [default]
\stoptypescript
\usetypescript[arabic]
\setupbodyfont[arabic,12pt]
%%%%%%%%%%%%%%%%%%
% heading numbers:
\setuphead[section][conversion=persiannumerals]
%,numberstyle={arabic}]
%%%%%%%%%%%%%%%%%%%
\starttext
\dorecurse{5}{%
\section{بخش}\par
آزمایش
}
\stoptext
Pardon me if I have been missing something already explained elsewhere.
Best regards: OK
___________________________________________________________________________________
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
___________________________________________________________________________________