From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94727 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: RTL-related bug in \startcolumns Date: Thu, 12 May 2016 23:02:19 -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="===============3818564977057521455==" X-Trace: ger.gmane.org 1463108591 1209 80.91.229.3 (13 May 2016 03:03:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 May 2016 03:03:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 13 05:03:00 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 1b13NU-0001HL-Ea for gctc-ntg-context-518@m.gmane.org; Fri, 13 May 2016 05:03:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8FA06C858; Fri, 13 May 2016 05:02:34 +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 FDTFwYKN6wVD; Fri, 13 May 2016 05:02:33 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2E9F2C85B; Fri, 13 May 2016 05:02:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6C817C858 for ; Fri, 13 May 2016 05:02:32 +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 kx7U5Wgrrk52 for ; Fri, 13 May 2016 05:02:31 +0200 (CEST) Original-Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) (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 84D10C856 for ; Fri, 13 May 2016 05:02:21 +0200 (CEST) Original-Received: by mail-oi0-f43.google.com with SMTP id k142so151184465oib.1 for ; Thu, 12 May 2016 20:02:21 -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=V8rl3NA7zMJBQ0Y1oInAbnFctETjxFCA/ZAraMwGduQ=; b=0FohXfbBj6bUzIxktv2iCPVDTeeb1Z9uAODgkKl5Qlvdnz28di2JvKG+LR9rmhAx2I qXx2ZUtMWgVGf4r1Vsd8XimhEgda5LnK9xxbbhdkAfL+pPN4XFWWri4cw9dueFxeUhok 1TXhAZ6qvlNFzr4lQfvsBfIvr/pffJTn4aQMRyxt/RRPa0YDO88MCoqdHReOTkCtlmt9 Ms3CP6Cj5zs/LaP4M8AxJHS+AeAkZDX5w87UplkbaMH8etwI0XvZf5LwptYl+rB0sfaq Xec2InPtW+xjaStTAS84ZFpFS3ZaDag2dOCN3DTECxjkT9Uz51bN6Kwi9WwDcst0w3zC ojcA== 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=V8rl3NA7zMJBQ0Y1oInAbnFctETjxFCA/ZAraMwGduQ=; b=FXoaTV6Vzx+b++vnNpehekX/O8cIZzOtjGDEQC9ughCPBcwZpTfCqH48HeNpUjtGf1 /PvA3QkXw3+nZLRjlkDcKBihGdFu2N4k1zzQTnCKWC4Ge2GzpLTnVKsgXwisXFDhsuGx TSi9LknTjHOe7J4BH2iZEz7gJFTgxVHv8hna5xxJyHIsmIN7e5GrCfB0AgKUel+HzMYA zw0gZcj/UVGq6FD5MVfaoQOcAhD2dnzARuNuuXjDIj2rNAbcOExGmkYRtZhbwuBr0XPJ qufXaVbIBasF3K4R626vmxSEVJCw+0/lcFb+4PRn76RGgOYccd7X7XJhWt227XanJ4Yn zAIA== X-Gm-Message-State: AOPr4FVlaDCDbyU50oQHNpCzv66eV89z6ifPwuMiwOqsWz57AS/vTfpGhSQ0xGW7GoRiLKBuh/pIhowKMM7yWg== X-Received: by 10.202.77.146 with SMTP id a140mr7489752oib.86.1463108539785; Thu, 12 May 2016 20:02:19 -0700 (PDT) Original-Received: by 10.157.35.135 with HTTP; Thu, 12 May 2016 20:02:19 -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:94727 Archived-At: --===============3818564977057521455== Content-Type: multipart/alternative; boundary=001a11c1704ac82a7b0532b0808d --001a11c1704ac82a7b0532b0808d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Hans, This bug exists in the latest beta, version 2016.05.12 23:49. Am I doing something wrong or is something really strange going on? I see the following among the logs, which seems correct to me. structure > sectioning > section @ level 3 : 0.0.1 -> First structure > sectioning > section @ level 3 : 0.0.2 -> Second I am surprised that the numbering is reverse; could this be due to the direction=3Dleft option? Then, what is the right option to use for right-to-left columns? Thanks, ~MHB On Sat, Apr 30, 2016 at 5:50 PM, Mohammad Hossein Bateni wrote: > Hello, > > In RTL text, I use direction=3Dleft to mirror the columns. I just notice= d > that surprisingly section numbering will not be correct. See the MWE > below, where I get "2 First" at the top of the right column and then "1 > Second" in the middle of the left column. The correct numbering should b= e > "1 First" and "2 Second." > > \starttext > \startcolumns[n=3D2,direction=3Dleft] > \section{First} > \input knuth > > \section{Second} > \input ward > \stopcolumns > \stoptext > > Produced using context version 2016.04.27 10:18. > > Thanks! > =E2=80=94MHB > --001a11c1704ac82a7b0532b0808d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Hans,

This bug exists in the late= st beta, version 2016.05.12 23:49.=C2=A0 Am I doing something wrong or is s= omething really strange going on?=C2=A0 I see the following among the logs,= which seems correct to me.

structure > section= ing > section @ level 3 : 0.0.1 -> First
structure >= sectioning > section @ level 3 : 0.0.2 -> Second

<= /div>
I am surprised that the numbering is reverse; could this be due t= o the direction=3Dleft option?=C2=A0 Then, what is the right option to use = for right-to-left columns?

Thanks,
~= MHB

On Sat, Apr= 30, 2016 at 5:50 PM, Mohammad Hossein Bateni <bateni@gmail.com> wrote:
Hello,
In RTL text, I use direction=3Dleft to mirror the columns.=C2= =A0 I just noticed that surprisingly section numbering will not be correct.= =C2=A0 See the MWE below, where I get "2 First" at the top of the= right column and then "1 Second" in the middle of the left colum= n.=C2=A0 The correct numbering should be "1 First" and "2 Se= cond."

\starttext
\startcolumns[n=3D2,direction=3Dleft]\section{First}
\input knuth

\section{Second}
\input ward\stopcolumns
\stoptext

Produced using context versio= n 2016.04.27 10:18.

Thanks!
=E2=80=94MHB

--001a11c1704ac82a7b0532b0808d-- --===============3818564977057521455== 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= --===============3818564977057521455==--