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. |
linertl.pdf
Description: Adobe PDF document
linertl.tex
Description: application/applefile
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.
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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : 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
___________________________________________________________________________________