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. 

Attachment: linertl.pdf
Description: Adobe PDF document

Attachment: linertl.tex
Description: application/applefile



On 30 Jul 2015, at 16:30, tala...@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?

Best wishes,
Talal
___________________________________________________________________________________
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
___________________________________________________________________________________

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

Reply via email to