ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mohammad Hossein Bateni <bateni@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.
Date: Mon, 18 Jan 2016 13:28:18 -0500	[thread overview]
Message-ID: <CAMHZ1dbWn3+55ncw0ZX5s6RSrd9EX162Ea8sbaV8UiSmjwad8g@mail.gmail.com> (raw)
In-Reply-To: <loom.20160118T191319-708@post.gmane.org>


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

One hacky way to fix it is the following:

\setupheadertexts
        [{\getmarking[chapter]}]    [{\lefttoright\pagenumber}]
        [{\lefttoright\pagenumber}]        [{\getmarking[chapter]}]

Ideally \setupdirections[bidi] or something like that should be used, as I
mentioned in the other thread; that'll fix a bunch of other problems, as
well.


On Mon, Jan 18, 2016 at 1:14 PM, Ibn Saeed <ibnsaeed@gmail.com> wrote:

> It seems to be the issue with
>
>     \setupheader[style=\righttoleft, state=normal]
>
> The style is righttoleft to accomodate the proper direction for arabic
> text.
> But it messes up the page number direction.
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2411 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-18 18:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 18:07 Ibn Saeed
2016-01-18 18:14 ` Ibn Saeed
2016-01-18 18:28   ` Mohammad Hossein Bateni [this message]
2016-01-19  3:54     ` Ibn Saeed
2016-01-19 10:20       ` Wolfgang Schuster
2016-01-19 11:16         ` Mohammad Hossein Bateni
2016-01-19 11:30           ` Wolfgang Schuster
2016-01-19 17:29             ` Mohammad Hossein Bateni
2016-01-18 21:43   ` Hans Hagen

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=CAMHZ1dbWn3+55ncw0ZX5s6RSrd9EX162Ea8sbaV8UiSmjwad8g@mail.gmail.com \
    --to=bateni@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).