[NTG-context] r2l alignment and linenumbering conflict?

talazem at fastmail.fm talazem at fastmail.fm
Sat Aug 1 17:37:57 CEST 2015


Sorry to pester, but this problem is barring me from moving my book project into ConTeXt this weekend.

The use of linenumbers seems to throw off the R2L mechanism. Example of the problem attached. 



> On 30 Jul 2015, at 16:30, talazem at fastmail.fm wrote:
> 
> 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 — here,  linenumbers — the RTL alignment is ignored.
> 
> Perhaps this linked to the problem with of RTL footnotes being discussed here: gmane.comp.tex.context/92113 <http://article.gmane.org/gmane.comp.tex.context/92113>?
> 
> Best wishes,
> Talal
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150801/c12da493/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linertl.pdf
Type: application/pdf
Size: 11046 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150801/c12da493/attachment.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150801/c12da493/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linertl.tex
Type: application/applefile
Size: 71 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150801/c12da493/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150801/c12da493/attachment-0002.html>


More information about the ntg-context mailing list