From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94612 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: RTL \definedescriptions Date: Sun, 1 May 2016 11:53:24 -0400 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="===============8263577675770042686==" X-Trace: ger.gmane.org 1462118043 22711 80.91.229.3 (1 May 2016 15:54:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 15:54:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 01 17:53:52 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 1awtgt-0005se-Hi for gctc-ntg-context-518@m.gmane.org; Sun, 01 May 2016 17:53:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 031FAB6D3; Sun, 1 May 2016 17:53:39 +0200 (CEST) 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 4Yzcc9cb9-At; Sun, 1 May 2016 17:53:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F365B6E0; Sun, 1 May 2016 17:53:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9923CB6DE for ; Sun, 1 May 2016 17:53:37 +0200 (CEST) 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 1xQ1vcLK6xXj for ; Sun, 1 May 2016 17:53:36 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) (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 884D9B6D3 for ; Sun, 1 May 2016 17:53:26 +0200 (CEST) Original-Received: by mail-ob0-f169.google.com with SMTP id j9so78787565obd.3 for ; Sun, 01 May 2016 08:53:26 -0700 (PDT) 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; bh=856wRUAH8iU95rsZu1QH8iLozDl0pxHvfExZUAVh0ZU=; b=IXpPaiZGTlv6VlQrVL+AEd/9gcSX3fg133yHltQCDHeKgmz/7KhVPedzgFBg0JflHA AimAS8UohrI6iT+Bvn0DVYlFv5g/rSQQA9Oor+V4YfOFaT63IlutKlhrfDldDyF4aysN mCNw7HagpT1qcfhmdzMIz2ub3q5TcncO3gwNLWtJcMbgUKJGgQWhrFdQ7xmBjIwB87Ho +Xr2JlDRx7K4XzhOZTLu2sWDlt17EstdftHzNXUxQMUS5yaUD/YsylQ8A78xCjvgi3wd KAPe6B2gdagFOQiZ7BDdoLhlw7ikCaMMI6RIMcquQ4yYc0vxCP8St875vdb5csd4o7aF x7tg== 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; bh=856wRUAH8iU95rsZu1QH8iLozDl0pxHvfExZUAVh0ZU=; b=Pa08MPdpHjwq/S6MxxvIoSYhKS9SNCvbKS+m+/m8drX+n5FtL+qxEtnaglPhyHiTaS p5hZJ89FWP5+sQF63qppioGRzyR4bJlM6OZ9pead+CeIOQT7Gk6YFxP0z8EpjovTXM5E jJkkRaZlPYoBf8HJynAxEtfBVqM5mW/YuIcSd6n3eLxSy+Fj6kHL4GI88S4EH2mh2Die 9PHNhom7B4DGCy8G8Xl37W2/1wVQFfeF+XGF6Wj/2cjTf3/c4KyRaatDgNnVEb6DLZ36 jTCcStox9Y5B6pKsqjDSRbrLp72j2DBarH7wEcnsnuDKM6jQVNik0aZQz7tPMqhMCLuu S+JA== X-Gm-Message-State: AOPr4FV4NiaNiW5fB8k7A1eflk/jIGT42ZcwhdhfUNgXWAZtLubQwvQ5M9yjokU6dlF5Vtnqen7F+b5wi8DFZQ== X-Received: by 10.60.81.167 with SMTP id b7mr13835315oey.2.1462118004801; Sun, 01 May 2016 08:53:24 -0700 (PDT) Original-Received: by 10.157.3.34 with HTTP; Sun, 1 May 2016 08:53:24 -0700 (PDT) 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:94612 Archived-At: --===============8263577675770042686== Content-Type: multipart/alternative; boundary=047d7b4187714bcd210531c9e067 --047d7b4187714bcd210531c9e067 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hans & Wolfgang, I'm updating the RTL page . The version used on the wiki, apparently the stable version from texlive 2015, does certain things differently. When using alternative=3Dserried, the last lin= e of the paragraph has incorrect alignment. This is not the case in the beta version. On the other hand, with bidi algorithm turned on, the wiki context places the head on the right if I use alternative=3Dtop, only when the text is in Persian. In the beta, the situation is more stable but incorrect: it places the head on the left-hand side no matter what. =E2=80=94MHB On Thu, Apr 28, 2016 at 9:22 PM, Mohammad Hossein Bateni wrote: > Hello Hans and Wolfgang, > > I tried different options in \definedescription and compared LTR and RTL > behavior. There are certain inconsistencies/bugs in the RTL setting. > Attached you can see a TeX file and the resulting PDF, trying different > options. The first two pages consider different parameters in the LTR > setting and then the same come in the RTL environment. > > In the following I use alt instead of alternative. > > Here are the issues I noticed: > > 1) Why isn't the head text consistently mirrored in the RTL environment? > It happens only in alt=3Dserried. > > 2) Option hang=3D2 produces a strange result for RTL. The hanging part > appears on the opposite side of the head text, which somehow pushes the > head text outside the text area. > > 3) Option alt=3Dtop for RTL still puts the head text on the left-hand sid= e. > > 4) I expect the LTR and RTL versions of the same settings to mirror one > another, but they do not. Although LTR/alt=3Dleft and RTL/alt=3Dright l= ook > pretty similar (and so do LTR/alt=3Dright and RTL/alt=3Dleft), but these = pairs > do not mirror one another. In particular, there is some space to the rig= ht > of the head text in LTR/alt=3Dright, while there is none to the left of > LTR/alt=3Dleft. The same thing shows in the margin alternatives where th= e > distance between the head text and the body is different in RTL and LTR. > > =E2=80=94MHB > --047d7b4187714bcd210531c9e067 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hans & Wolfgang,

I'm upda= ting the RTL page.=C2=A0 = The version used on the wiki, apparently the stable version from texlive 20= 15, does certain things differently.=C2=A0 When using alternative=3Dserried= , the last line of the paragraph has incorrect alignment.=C2=A0 This is not= the case in the beta version.

On the other hand, with b= idi algorithm turned on, the wiki context places the head on the right if I= use alternative=3Dtop, only when the text is in Persian.=C2=A0 In the beta= , the situation is more stable but incorrect: it places the head on the lef= t-hand side no matter what.

=E2=80=94MHB

On Thu, Apr 28,= 2016 at 9:22 PM, Mohammad Hossein Bateni <bateni@gmail.com> = wrote:
Hello Hans and Wo= lfgang,

I tried different options in \definedescription = and compared LTR and RTL behavior.=C2=A0 There are certain inconsistencies/= bugs in the RTL setting.=C2=A0 Attached you can see a TeX file and the resu= lting PDF, trying different options.=C2=A0 The first two pages consider dif= ferent parameters in the LTR setting and then the same come in the RTL envi= ronment.

In the following I use alt instead of alt= ernative.

Here are the issues I noticed:

1) Why isn't the head text consistently mirrored in the= RTL environment?=C2=A0 It happens only in alt=3Dserried.

2) Option hang=3D2 produces a strange result for RTL.=C2=A0 The han= ging part appears on the opposite side of the head text, which somehow push= es the head text outside the text area.

3) Option = alt=3Dtop for RTL still puts the head text on the left-hand side.

4) I expect the LTR and RTL versions of the same settings t= o mirror one another, but they do not. =C2=A0 Although LTR/alt=3Dleft and R= TL/alt=3Dright look pretty similar (and so do LTR/alt=3Dright and RTL/alt= =3Dleft), but these pairs do not mirror one another.=C2=A0 In particular, t= here is some space to the right of the head text in LTR/alt=3Dright, while = there is none to the left of LTR/alt=3Dleft.=C2=A0 The same thing shows in = the margin alternatives where the distance between the head text and the bo= dy is different in RTL and LTR.

=E2=80=94MHB

--047d7b4187714bcd210531c9e067-- --===============8263577675770042686== 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= --===============8263577675770042686==--