ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Linenumbering and bidi
@ 2014-03-28 21:45 Rik Kabel
  2014-03-28 22:25 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2014-03-28 21:45 UTC (permalink / raw)
  To: ntg-context

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.

-- 
Rik Kabel

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linenumbering and bidi
  2014-03-28 21:45 Linenumbering and bidi Rik Kabel
@ 2014-03-28 22:25 ` Hans Hagen
  2014-03-28 22:57   ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-03-28 22:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linenumbering and bidi
  2014-03-28 22:25 ` Hans Hagen
@ 2014-03-28 22:57   ` Rik Kabel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel @ 2014-03-28 22:57 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-28 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-28 21:45 Linenumbering and bidi Rik Kabel
2014-03-28 22:25 ` Hans Hagen
2014-03-28 22:57   ` Rik Kabel

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).