From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93389 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Arabic Letters are disjointed and reversed in headers and margin Date: Mon, 18 Jan 2016 13:22:39 -0500 Message-ID: References: <569BE865.9060809@wxs.nl> <569CA767.7050100@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7760395668462086631==" X-Trace: ger.gmane.org 1453141397 22092 80.91.229.3 (18 Jan 2016 18:23:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2016 18:23:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 18 19:23:07 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 1aLESE-0003RK-SU for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jan 2016 19:23:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E74F9615B; Mon, 18 Jan 2016 19:22:53 +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 X5gRlKxza34N; Mon, 18 Jan 2016 19:22:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3DEA4615D; Mon, 18 Jan 2016 19:22:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1502B615B for ; Mon, 18 Jan 2016 19:22:52 +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 MSOTuXNcaxml for ; Mon, 18 Jan 2016 19:22:51 +0100 (CET) Original-Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) (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 272B56150 for ; Mon, 18 Jan 2016 19:22:41 +0100 (CET) Original-Received: by mail-ob0-f174.google.com with SMTP id is5so168091662obc.0 for ; Mon, 18 Jan 2016 10:22:41 -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=e+BrIUjT+pR6igoQASgOUr4pS+c+zK1cLbiSl8UQAyo=; b=OSspaKJWsVlMHZG6pmYGhx9C1cmk0aYIZTR7mGCZOELKOjcyxjBcRiqc/qIUV8stDP V/QFSYrXwoNUSWm7QilAOMDgbtxL38O+bqjgf9tk/xyGc3wTkMmjMvhbxBAt8pYp3BAX tcJyTqju4G+Iq1Za8BqDY9DXHP0k7BPtOKPQB3TWEnQkbA/XEWoaMBtE874RZcjugVVm xHhSznHF82lLaWdwEsypprIOqfnNbJ+2+972J82zUXpqOWV8HYM8rI3y3ABSKqxdnKvJ 8JfwJ/XPl76aPVJM1taHBkPVfa1gUsR56jONlkUxAvq7ZB1ld2sG6hxbMS0zC1fBvfAy 6W9A== 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=e+BrIUjT+pR6igoQASgOUr4pS+c+zK1cLbiSl8UQAyo=; b=FQ6JZFBzuBFHPj3Sw1sUcV2t51MdLe8EUg+1vJzzsIesD/BYzqXYqhnbxepdMp8lUK l2T8EA/73WSE/mr/TjCOyAtx3yP8Cud3YjSh5/KLMQDVXH9GPf0tpLxmkkFmodkU06i3 4qdMkTHM4YfDL65JFdZwrrl+hQBV6LiVF2RDQXeG7qtnQi/HF01JHHHjy+1djItXsInC dmmGqWl1xhw5ACnR+DHtClaix9TyFiFSsCIvfuBhjgFcDo6psFwCY56RP2nEsMUjpjY3 ZKlin6s3V+u7wSewbHRIYPoRDZRPwOWXMpPJp5P0tGjNiwlODMcT2RawfZ8bT+/gOAlE /Zxg== X-Gm-Message-State: ALoCoQkr6+NoUuX2hA872i86pvrqxVjcmBw1vvdWdIxXp4Qbd5l6BXKYD+9gKpb5wwnM4g0LyGn4Pm5aqXx0nr8ocxZXUDPAqw== X-Received: by 10.182.200.162 with SMTP id jt2mr20706497obc.55.1453141359499; Mon, 18 Jan 2016 10:22:39 -0800 (PST) Original-Received: by 10.202.188.132 with HTTP; Mon, 18 Jan 2016 10:22:39 -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:93389 Archived-At: --===============7760395668462086631== Content-Type: multipart/alternative; boundary=001a11c239308a9f3d05299fd6c7 --001a11c239308a9f3d05299fd6c7 Content-Type: text/plain; charset=UTF-8 This makes all the text LTR, for instance if one has an English word embedded in the RTL text, that will be shown incorrectly. Or even if one of the headers (say, on the left side) is plain English. Why wouldn't something like the following work? \startsetups setup:bidi \setupdirections[bidi=on,method=default,fences=no] \stopsetups \setupheader[setups=setup:bidi] On Mon, Jan 18, 2016 at 4:11 AM, Ibn Saeed wrote: > Wolfgang Schuster gmail.com> writes: > > > > > \setupheader[style=\righttoleft] > > Wolfgang > > > > Thank you very much. > > This solves the issue of the arabic text in header as well. > > > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --001a11c239308a9f3d05299fd6c7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This makes all the text LTR, for instance if one has an En= glish word embedded in the RTL text, that will be shown incorrectly.=C2=A0 = Or even if one of the headers (say, on the left side) is plain English.
Why wouldn't something like the following work?

\startsetups setup:bidi

\setupdirections[bidi=3Don,method=3Ddefault,fenc= es=3Dno]

\stopsetups

\setupheader[setups=3Dsetup:bidi]



On Mon, Jan 18, 2016 at 4:11 AM, Ibn Saeed &= lt;ibnsaeed@gmail.c= om> wrote:
Wolfgang Schuste= r <schuster.wolfgang <at> gmail.com> writes:

>
> \setupheader[style=3D\righttoleft]
> Wolfgang
>

Thank you very much.

This solves the issue of the arabic text in header as well.



___________________________________________________________________________= ________
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
___________________________________________________________________________= ________

--001a11c239308a9f3d05299fd6c7-- --===============7760395668462086631== 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= --===============7760395668462086631==--