From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93391 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Page Numbers change after 9 to 01 - 11 -21 - 31 and so on. Date: Mon, 18 Jan 2016 13:28:18 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7285373746775560355==" X-Trace: ger.gmane.org 1453141753 28120 80.91.229.3 (18 Jan 2016 18:29:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2016 18:29:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 18 19:29:02 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLEY1-0006CT-L2 for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jan 2016 19:29:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 57C536168; Mon, 18 Jan 2016 19:28:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nmzu3gU9pT6E; Mon, 18 Jan 2016 19:28:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E80E76161; Mon, 18 Jan 2016 19:28:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A9A2C615C for ; Mon, 18 Jan 2016 19:28:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mUK1FwK51CFl for ; Mon, 18 Jan 2016 19:28:30 +0100 (CET) Original-Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 52C4E612F for ; Mon, 18 Jan 2016 19:28:20 +0100 (CET) Original-Received: by mail-oi0-f42.google.com with SMTP id w75so147764696oie.0 for ; Mon, 18 Jan 2016 10:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RT1+dDoKBNDkwGFdVY9O9RExDDkX9xZ+w19ZVSsaAcU=; b=FlPPeHep6V0BeLRgP0/iWdlxcCn57mAgPVbuELM0gQrNR3pGBnXC8dR7E9SQR10ffL UC7WmJiKr/wHsqbghB5RBfM+5ZNcWTiXOl7zJq+8wjaBQoc/HMHx5WItzp9rvPxbF6Jr 0kHMeKgwQGhxBXCmlM2PgLwp9nQ3elNzWPG2rqX10ZswcOrbg9fq7KSsk1bEoYP3XHEe CCWQuRJmBjqpuquufBj0IGQs+K0n2h2VamHTDyHcUdnQgDR5TXZ+y/LzeT93HJe5ay3F FAT+sWMu4tS4eQCLGlNPRYrWQIod89GpiaQOTViNdbb4+ZvCGsHfzNkFE8PgF1z77yuN d+qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=RT1+dDoKBNDkwGFdVY9O9RExDDkX9xZ+w19ZVSsaAcU=; b=RuSNsfrOcILY7/6jMcbewy32rgoNA5al3N3MdIPRaS2wDSO2QJqYMA6HnYVe9tKpKV 0f/ypefeOsHCWAfrhJnsEx7BtxOgJkZMEm92bkM5msJ/TZmVawTOgzFkH3T6kyRNCOb+ 7HpLPf9p5YpeTgTcMVEGxuOB0VBUxxzSKMruvm99M6fvkO+UmtLS42ntNqnd00JH9rFv f6nPvKBHPhsX1fTgnqf+B/BsijWRuM17AtC+E2H5bEUh5MJGhUlA2zHEKA4MSFKvEyvp AvwSUnCYdBfoFmYlxiBrb9/Mb3dBDqRJXSct1tMy5HVkoFauuU6QnGclK0ibXgNB3MfA XLew== X-Gm-Message-State: ALoCoQlHpZuIPVLxnouuj+/2iIfdS3IByOv8MqU7afZpA0o6y//kpWEd1QZzW4fZGMX7dbe+CB8FAn7qrsUQRUkAt5iTsUqShw== X-Received: by 10.202.75.205 with SMTP id y196mr19596771oia.130.1453141698817; Mon, 18 Jan 2016 10:28:18 -0800 (PST) Original-Received: by 10.202.188.132 with HTTP; Mon, 18 Jan 2016 10:28:18 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93391 Archived-At: --===============7285373746775560355== Content-Type: multipart/alternative; boundary=001a11c165e8c4377a05299fea02 --001a11c165e8c4377a05299fea02 Content-Type: text/plain; charset=UTF-8 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 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 > > ___________________________________________________________________________________ > --001a11c165e8c4377a05299fea02 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
One hacky way to fix it is the following:

\setupheadertexts
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 [{\getmarking[chapter]}]=C2=A0 =C2=A0 [{\lefttoright\pagenumber}]
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 [{\lefttoright\pagenumber}]=C2=A0 =C2=A0 =C2=A0 =C2= =A0 [{\getmarking[chapter]}]

Ideally \setupdi= rections[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:1= 4 PM, Ibn Saeed <ibnsaeed@gmail.com> wrote:
It seems to be the issue with

=C2=A0 =C2=A0 \setupheader[style=3D\righttoleft, state=3Dnormal]

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 t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a11c165e8c4377a05299fea02-- --===============7285373746775560355== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============7285373746775560355==--