From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86832 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Linenumbering and bidi Date: Fri, 28 Mar 2014 18:57:37 -0400 Message-ID: <5335FE61.5070106@rik.users.panix.com> References: <5335ED70.6030507@rik.users.panix.com> <5335F6F7.9010707@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1008286661==" X-Trace: ger.gmane.org 1396047470 2772 80.91.229.3 (28 Mar 2014 22:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 22:57:50 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 28 23:57:58 2014 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 1WTfio-0007fP-7y for gctc-ntg-context-518@m.gmane.org; Fri, 28 Mar 2014 23:57:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A81C101FE; Fri, 28 Mar 2014 23:57:57 +0100 (CET) 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 Yhac5qIjy03Q; Fri, 28 Mar 2014 23:57:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1DC0E101EC; Fri, 28 Mar 2014 23:57:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 344AB101EC for ; Fri, 28 Mar 2014 23:57:53 +0100 (CET) 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 y7Je7GukGVEV for ; Fri, 28 Mar 2014 23:57:50 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 2428D101EB for ; Fri, 28 Mar 2014 23:57:40 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2SMvcIp007195 for ; Fri, 28 Mar 2014 23:57:39 +0100 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 85BE82E6F2 for ; Fri, 28 Mar 2014 18:57:38 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <5335F6F7.9010707@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QLHaVDL9 - df618a6566c4 - 20140328 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86832 Archived-At: This is a multi-part message in MIME format. --===============1008286661== Content-Type: multipart/alternative; boundary="------------090104030508000606010403" This is a multi-part message in MIME format. --------------090104030508000606010403 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 2014-03-28 18:25, Hans Hagen wrote: > On 3/28/2014 10:45 PM, Rik Kabel wrote: >> I have requirements similar to those of St=E9phane Goujet to reproduce= the >> typography of earlier times, and I tried to adapt the code presented i= n >> his note earlier today titled =93Quotation blocs with repetition symbo= l in >> the left column.=94 >> >> The result of this attempt is the discovery of two issues with >> linenumbering. I will present these in separate notes. This note >> involves an unfortunate interaction with bidi. The other problem >> involves startnarrower. >> >> Both issues occur with the current 20140328 beta. >> >> Adding the line \setupdirections[bidi=3Don,method=3Dtwo] to St=E9phane= =92s >> example results in the disappearance of the guillemots that would >> otherwise be placed as linenumbers. In my case, this bidi variant is >> needed to prevent misplaced references. The issue of misplaced >> references was discusssed in a recent thread by Pablo Rodriguez (Re: >> [NTG-context] (again) bug with bidi direction and \about references, >> begun on 3 March). >> >> The bidi issue does not occur with TL2013, although perhaps method=3Dt= wo >> is meaningless there. Other bidi options do not show this problem. > > proper minimal example needed > > Hans This should do. I also include commented statements for the=20 startnarrower issue. \setupdirections [bidi=3Don,method=3Dtwo] %\setupdirections [bidi=3Don] \definelinenumbering[fail][location=3Dtext,width=3D.75em] \definestartstop[bloccitel][before=3D{\startlinenumbering[fail]}, after=3D{\stoplinenumbering}] \starttext %\setupnarrower[left=3D3cm,right=3D2cm] %\startnarrower[left,right] Now, a quote block starting just there, \startbloccitel \input tufte \stopbloccitel . This a bit of text at the end of the quotation. %\stopnarrower \stoptext --------------090104030508000606010403 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On 2014-03-28 18:25, Hans Hagen wrote:=
On 3/28/2014 10:45 PM, Rik Kabel wrote:
I have requirements similar to those of St=E9phane Goujet to reproduce the
typography of earlier times, and I tried to adapt the code presented in
his note earlier today titled =93Quotation blocs with repetition symbol in
the left column.=94

The result of this attempt is the discovery of two issues with
linenumbering. I will present these in separate notes. This note
involves an unfortunate interaction with bidi. The other problem
involves startnarrower.

Both issues occur with the current 20140328 beta.

Adding the line \setupdirections[bidi=3Don,method=3Dtwo] to St=E9phane=92s
example results in the disappearance of the guillemots that would
otherwise be placed as linenumbers. In my case, this bidi variant is
needed to prevent misplaced references. The issue of misplaced
references was discusssed in a recent thread by Pablo Rodriguez (Re:
[NTG-context] (again) bug with bidi direction and \about references,
begun on 3 March).

The bidi issue does not occur with TL2013, although perhaps method=3Dtwo
is meaningless there. Other bidi options do not show this problem.

proper minimal example needed

Hans

This should do. I also include commented statements for the startnarrower issue.

\setupdirections [bidi=3Don,method=3Dtwo] %\setupdirections [bidi=3Don]
\definelinenumbering[fail][location=3Dtext,width=3D.75em]<= /tt>
\definestartstop[bloccitel][before=3D{\startlinenumbering[= fail]},
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 after=3D{\stoplinenumbering}]
\starttext
%\setupnarrower[left=3D3cm,right=3D2cm]
%\startnarrower[left,right]
Now, a quote block starting just there, \startbloccitel
\input tufte
\stopbloccitel . This a bit of text at the end of the quotation.
%\stopnarrower
\stoptext

--------------090104030508000606010403-- --===============1008286661== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1008286661==--