Wolfgang Schuster
2018-07-04 20:44:01 UTC
Hi Hans,
the example below shows a problems Idris has reported a few times.
When you enable the bidi mechanism it gets reset for
- footnotes,
- margin notes and
- header/footer texts,
because the attribute setting in typo-dir.mkiv doesnât include the
"global" keyword.
%%%% type-dir.mkiv
\definesystemattribute[directions][public]
%%%%
Adding "global" to the second argument would fix the wrong output.
%%%% test.tex
\definefontfamily [mainface] [rm] [ALM Fixed] [features=arabic]
\setupbodyfont [mainface]
\setuplayout[backspace=5cm,width=middle,leftmargin=4cm]
\setupdirections [bidi=global]
\setupheadertexts[Test ا٠تØا٠test]
\starttext
Test ا٠تØا٠test\footnote{Test ا٠تØا٠test}
Test ا٠تØا٠test\inmargin{Test ا٠تØا٠test}
\stoptext
%%%%
Wolfgang
the example below shows a problems Idris has reported a few times.
When you enable the bidi mechanism it gets reset for
- footnotes,
- margin notes and
- header/footer texts,
because the attribute setting in typo-dir.mkiv doesnât include the
"global" keyword.
%%%% type-dir.mkiv
\definesystemattribute[directions][public]
%%%%
Adding "global" to the second argument would fix the wrong output.
%%%% test.tex
\definefontfamily [mainface] [rm] [ALM Fixed] [features=arabic]
\setupbodyfont [mainface]
\setuplayout[backspace=5cm,width=middle,leftmargin=4cm]
\setupdirections [bidi=global]
\setupheadertexts[Test ا٠تØا٠test]
\starttext
Test ا٠تØا٠test\footnote{Test ا٠تØا٠test}
Test ا٠تØا٠test\inmargin{Test ا٠تØا٠test}
\stoptext
%%%%
Wolfgang