ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (mashriqi) Arabic-Hindi Numerals
Date: Tue, 19 Jan 2016 23:15:54 +0100	[thread overview]
Message-ID: <569EB59A.7030306@gmail.com> (raw)
In-Reply-To: <loom.20160119T182206-486@post.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1719 bytes --]

> Ibn Saeed <mailto:ibnsaeed@gmail.com>
> 19. Januar 2016 um 18:23
> Mohammad Hossein Bateni<bateni<at>  gmail.com>  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

[-- Attachment #1.2: Type: text/html, Size: 3393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

  reply	other threads:[~2016-01-19 22:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19  4:34 Ibn Saeed
2016-01-19  9:55 ` Ibn Saeed
2016-01-19 10:23   ` Wolfgang Schuster
2016-01-19 11:30     ` Mohammad Hossein Bateni
2016-01-19 11:41       ` Otared Kavian
2016-01-19 13:41         ` Ibn Saeed
2016-01-19 13:43     ` Ibn Saeed
2016-01-19 14:08       ` Mohammad Hossein Bateni
2016-01-19 15:08         ` Ibn Saeed
2016-01-19 17:18         ` Ibn Saeed
2016-01-19 17:23         ` Ibn Saeed
2016-01-19 22:15           ` Wolfgang Schuster [this message]
2016-01-20  4:33             ` Ibn Saeed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=569EB59A.7030306@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).