[dev-context] Inner/outer alignment resets text direction

2019-12-16 Thread Wolfgang Schuster
Hi, when inner/outer alignment of paragraphs is used in a doublesided document with the text direction from RTL, the direction is changed back to LTR starting with the second page. The reason for this is the \signalinnerrealign (or \signalouterrealign) command.

[dev-context] \textrule and Bidi

2019-12-16 Thread Wolfgang Schuster
Hi, in RTL text direction the middle and bottom alternatives of \textrule extend into the right margin. \setupalign[righttoleft] \starttext \textrule[top]{} \textrule[middle]{} \textrule[bottom]{} \stoptext A fix for this is to use \naturalvpack instead of \vpack. pack-mrl.mkiv

[dev-context] \setupalign[flushinner]

2019-12-16 Thread Wolfgang Schuster
Hi, the results of the inner and flushinner (and also outer and flushouter) keywords for \setupalign are reversed compared to MkII. I guess this happened when the code was rewritten. Attached are results from the following example in MkII and MkIV. \setuppapersize[A5][A5] \starttext