From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92115 Path: news.gmane.org!not-for-mail From: "talazem@fastmail.fm" Newsgroups: gmane.comp.tex.context Subject: r2l alignment and linenumbering conflict? Date: Thu, 30 Jul 2015 16:30:14 +0100 Message-ID: <23253135-8B88-487D-9271-39A683A8A060@fastmail.fm> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3073\)) Content-Type: multipart/mixed; boundary="===============0221157980==" X-Trace: ger.gmane.org 1438270375 2699 80.91.229.3 (30 Jul 2015 15:32:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 15:32:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 30 17:32:40 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKpp1-0006qX-6b for gctc-ntg-context-518@m.gmane.org; Thu, 30 Jul 2015 17:32:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33B1F10218 for ; Thu, 30 Jul 2015 17:32:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xh2m6ox8i9F9 for ; Thu, 30 Jul 2015 17:32:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6AA3B1023A for ; Thu, 30 Jul 2015 17:31:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A32A101FE for ; Thu, 30 Jul 2015 17:31:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RIaMmhU33pdm for ; Thu, 30 Jul 2015 17:31:55 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E606E101FA for ; Thu, 30 Jul 2015 17:29:38 +0200 (CEST) Original-Received: from host21.specialservers.com (host21.specialservers.com [213.175.196.29] (may be forged)) by filter2-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t6UFTXdP027392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Jul 2015 17:29:38 +0200 Original-Received: from cpc69046-oxfd25-2-0-cust964.4-3.cable.virginm.net ([81.109.87.197]:37502 helo=[10.0.1.2]) by host21.specialservers.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1ZKplz-000rsu-Sa for ntg-context@ntg.nl; Thu, 30 Jul 2015 16:29:31 +0100 X-Mailer: Apple Mail (2.3073) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host21.specialservers.com X-AntiAbuse: Original Domain - ntg.nl X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fastmail.fm X-Get-Message-Sender-Via: host21.specialservers.com: authenticated_id: talal@alazem.org X-Source: X-Source-Args: X-Source-Dir: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.175.196.29; country=GB; latitude=51.5000; longitude=-0.1300; http://maps.google.com/maps?q=51.5000,-0.1300&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TOWDtxag - e2c0b20cef52 - 20150730 Received-SPF: neutral (filter2-til.mf.surf.net: 213.175.196.29 is neither permitted nor denied by domain talazem@fastmail.fm) receiver=filter2-til.mf.surf.net; client-ip=213.175.196.29; envelope-from=; helo=host21.specialservers.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:92115 Archived-At: --===============0221157980== Content-Type: multipart/alternative; boundary="Apple-Mail=_2E5AAE7F-E7A3-4E05-AE59-C6009C9B514A" --Apple-Mail=_2E5AAE7F-E7A3-4E05-AE59-C6009C9B514A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 There seems to be some limitation (or bug) in right-to-left (r2l) = alignment, when used alongside linenumbering. Consider the following: > \setuppapersize[A6] > \starttext \showframe >=20 > \section{Incorrect} > \startlinenumbering > \startalignment[r2l] > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque = molestie dictum quam non congue. Integer ut dolor vel mi vestibulum = molestie vel et nulla. > \stopalignment > \stoplinenumbering >=20 > \section{Correct} > \startalignment[r2l] > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque = molestie dictum quam non congue. Integer ut dolor vel mi vestibulum = molestie vel et nulla. > \stopalignment >=20 > \stoptext The RTL alignment works correctly on its own. However, when you = introduce another factor =E2=80=94 here, linenumbers =E2=80=94 the RTL = alignment is ignored. Perhaps this linked to the problem with of RTL footnotes being discussed = here: gmane.comp.tex.context/92113 = ? Best wishes, Talal= --Apple-Mail=_2E5AAE7F-E7A3-4E05-AE59-C6009C9B514A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 There seems to be some limitation (or bug) in right-to-left = (r2l) alignment, when used alongside linenumbering. Consider the = following:

\setuppapersize[A6]
\starttext \showframe

\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. = Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi = vestibulum molestie vel et nulla.
\stopalignment
\stoplinenumbering

\section{Correct}
\startalignment[r2l]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. = Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi = vestibulum molestie vel et nulla.
\stopalignment

\stoptext

The = RTL alignment works correctly on its own. However, when you = introduce another factor =E2=80=94 here,  linenumbers =E2=80=94 the = RTL alignment is ignored.

Perhaps this linked to the problem with of RTL footnotes = being discussed here: gmane.comp.tex.context/92113?

Best wishes,
Talal
= --Apple-Mail=_2E5AAE7F-E7A3-4E05-AE59-C6009C9B514A-- --===============0221157980== 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= --===============0221157980==--