tala...@fastmail.fm <mailto:tala...@fastmail.fm>
1. August 2015 17:37
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.
The culprit is the function "boxed.stage_two" in page.lua which output
each text line in the line numbering
environment in left to right mode. When you have justified lines
everything is fine but when you have a ragged
line (e.g. the last line in a paragraph) ConTeXt aligns the context with
the left margin.
\starttext \showframe
\startalignment[righttoleft,flushleft]
\input ward
\blank
\startlinenumbering
\input ward
\stoplinenumbering
\stopalignment
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________