> Am 17.05.2015 um 00:58 schrieb Sam Ḥilluc <shil...@gmx.com>: > > Greetings, > > I'm trying to typeset an Arabic text, but I have a problem with parenthesis in > footnotes. The following example: > > \usemodule[simplefonts] > > \setmainfont[amiri][features=arabic,range=arabic] > \setupdirections[bidi=global] > \setupalign[righttoleft] > > \def\text{(ب)} > > \startdocument > \text\footnote{\text}. > \stopdocument > > gives the correct order in the text but the parenthesis are not adapted in the > footnote. > > So in the text I get: (ب) > And in the footnote: )ب(.
You have to set the bidi settings again for the footnotes because the notes mechanism resets many of these setups. \startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups \setupnote[footnote][setups=note:footnote] % align=righttoleft 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 ___________________________________________________________________________________