From: Rik Kabel <context@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Re: Linenumbering and bidi
Date: Fri, 28 Mar 2014 18:57:37 -0400 [thread overview]
Message-ID: <5335FE61.5070106@rik.users.panix.com> (raw)
In-Reply-To: <5335F6F7.9010707@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1913 bytes --]
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éphane Goujet to reproduce the
>> typography of earlier times, and I tried to adapt the code presented in
>> his note earlier today titled “Quotation blocs with repetition symbol in
>> the left column.”
>>
>> 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=on,method=two] to Stéphane’s
>> 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=two
>> 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=on,method=two]
%\setupdirections [bidi=on]
\definelinenumbering[fail][location=text,width=.75em]
\definestartstop[bloccitel][before={\startlinenumbering[fail]},
after={\stoplinenumbering}]
\starttext
%\setupnarrower[left=3cm,right=2cm]
%\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
[-- Attachment #1.2: Type: text/html, Size: 3178 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2014-03-28 22:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 21:45 Rik Kabel
2014-03-28 22:25 ` Hans Hagen
2014-03-28 22:57 ` Rik Kabel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5335FE61.5070106@rik.users.panix.com \
--to=context@rik.users.panix.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).