Mohammad Hossein Bateni
You do not need to uninstall TeXLive. ConTeXt Standalone can work side by
\persiandecimals and \arabicdecimals are very similar. The difference is (almost) only in digits for 0,4,5,6. However, Ibn Saeed most probably needs \arabicdecimals to typeset "mashiriqi" numerals.
The important thing is that neither one exists in TeXLive Context. It was
side and it's very simple to install. You can pick to use the standalone for some of your compilations. there in MkII but not in MkIV for some reason. It was added to MkIV sometime in the fall. I updated ConTeXt as per your advice to the latest version. I tried the following code on ConTeXt 0.63 running in AucTeX Spacemacs Editor. \setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\arabicdecimals\pagenumber}] [{\arabicdecimals\pagenumber}] [{\righttoleft\getmarking[chapter]}] This time it worked perfectly. Thank you very much Mohammad Hossein Bateni