Hello I am trying to get mashriqi arabic numerals. i tried \setupuserpagenumber[numberconversion=arabicnumerals] but it does not make any change.
Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location=, ]
Ibn Saeed mailto:ibnsaeed@gmail.com 19. Januar 2016 um 10:55
Here is my code for the header:
\setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] Use
\setupheadertexts[pagenumber] or \setupheadertexts[\userpagenumber] Wolfgang
Also \arabicnumerals is probably not what you want: this will produce an abjad-like sequence: ا ب ج د ه و ز ... I guess, what you want is called \arabicdecimals, and was not part of MkIV for a while. (For instance, it is not in standard TeXLive 2015 distribution whose CONTEXT version is for sometime in the summer.) Use the CONTEXT standalone and you should be good to go. On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Ibn Saeed
19. Januar 2016 um 10:55 Here is my code for the header:
\setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
Use
\setupheadertexts[pagenumber]
or
\setupheadertexts[\userpagenumber]
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
___________________________________________________________________________________
Hi, There is the command \persiandecimals is that what you are looking for? Best regards: OK
On 19 Jan 2016, at 12:30, Mohammad Hossein Bateni
wrote: Also \arabicnumerals is probably not what you want: this will produce an abjad-like sequence: ا ب ج د ه و ز ...
I guess, what you want is called \arabicdecimals, and was not part of MkIV for a while. (For instance, it is not in standard TeXLive 2015 distribution whose CONTEXT version is for sometime in the summer.) Use the CONTEXT standalone and you should be good to go.
On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster
mailto:schuster.wolfgang@gmail.com> wrote: Ibn Saeed mailto:ibnsaeed@gmail.com 19. Januar 2016 um 10:55
Here is my code for the header:
\setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] Use
\setupheadertexts[pagenumber]
or
\setupheadertexts[\userpagenumber]
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Wolfgang Schuster
Use \setupheadertexts[pagenumber] or \setupheadertexts[\userpagenumber] Wolfgang
Hello Wolfgang, Thanks for helping out again. i tried your code : \setupheadertexts[pagenumber] [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location=, ] It did not work, no page numbers appeared(blank) I am using TexLive 2015.
You do not *need* to uninstall TeXLive. ConTeXt Standalone can work side
by side and it's very simple to install
http://wiki.contextgarden.net/ConTeXt_Standalone. You can pick to use
the standalone for some of your compilations.
\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
there in MkII but not in MkIV for some reason. It was added to MkIV
sometime in the fall.
On Tue, Jan 19, 2016 at 8:43 AM, Ibn Saeed
Wolfgang Schuster
writes: Use \setupheadertexts[pagenumber] or \setupheadertexts[\userpagenumber] Wolfgang
Hello Wolfgang,
Thanks for helping out again.
i tried your code :
\setupheadertexts[pagenumber] [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
\setuppagenumbering[ alternative=doublesided, location=, ]
It did not work, no page numbers appeared(blank)
I am using TexLive 2015.
___________________________________________________________________________________ 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
___________________________________________________________________________________
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.
Thank you Mohammad. Ill install the standalone version
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 have installed ConTeXt standalone version 0.63. i dont know if its beta or stable release. How do i use \arabicdecimals now ? where should i place the code
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
Ibn Saeed mailto:ibnsaeed@gmail.com 19. Januar 2016 um 18:23 Mohammad Hossein Bateni
writes: You do not need to uninstall TeXLive. ConTeXt Standalone can work side by side and it's very simple to install. You can pick to use the standalone for some of your compilations. \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 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. When you talk about context versions you have to use the date from the last line (context --version):
mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: context.mkiv mtx-context | current version: 2016.01.18 22:21
\setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\arabicdecimals\pagenumber}] [{\arabicdecimals\pagenumber}] [{\righttoleft\getmarking[chapter]}] You can separate the settings and the content:
\setupheader[style=\righttoleft] \setupheadertexts [chapter] [pagenumber] [pagenumber] [chapter] \setuppagenumbering [alternative=doublesided, style=\lefttoright, location=] \setupuserpagenumber[numberconversion=Characters] % numberconversion=arabicdecimals \starttext \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang
participants (4)
-
Ibn Saeed
-
Mohammad Hossein Bateni
-
Otared Kavian
-
Wolfgang Schuster