There is a typo in typo-dir.mkiv (missing "s" in directions) \unexpanded\def\setglobaldirection[#1]% todo: symbolic names {\clf_setdirection#1\relax - \pickupdirectionattribute} + \pickupdirectionsattribute} Another problem is that you can’t set a global direction because the command is embedded in \setupdirections. \definefontfamily[mainface][rm][ALM Fixed][features=arabic] \setupbodyfont[mainface] \setuplayout[backspace=5cm,width=middle,leftmargin=4cm] \setupdirections[bidi=global] %\setglobaldirection[\number\directionsbidimode] \setupheadertexts[Test امتحان test] \starttext Test امتحان test\footnote{Test امتحان test} Test امتحان test\inmargin{Test امتحان test} \stoptext Wolfgang
Hans Hagen mailto:j.hagen@xs4all.nl 9. Juli 2018 um 18:48 On 7/9/2018 4:24 PM, Wolfgang Schuster wrote:
i made it a bit more generic ... beta on ftp ... 'pickup' is the magic word (script and bidi done that way now) .. your example looks ok
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------