Ok, this works:

 

\setupnote[footnote][align=l2r]

 

Does that have any drawbacks?

 

Is it possible to change the text direction for single notes ?

 

Denis

 

 

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Denis Maier via ntg-context
Gesendet: Donnerstag, 16. Dezember 2021 12:09
An: ntg-context@ntg.nl
Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: [NTG-context] LTR footnotes from RTL paragraph

 

Hi

 

Footnotes originating from an RTL paragraph will be also typeset in RTL mode as the following example illustrates:

 

%%%%%%%%%%%%%%%%%%%%%%

\setupdelimitedtext[blockquote]

                [leftmargin=1.5em,rightmargin=0em,]

               

\definedelimitedtext[rtlblockquote]

\setupdelimitedtext[rtlblockquote]

                [leftmargin=0em,rightmargin=1.5em,before={\righttoleft}]

 

 

\starttext

 

\input knuth

 

\startblockquote

\input knuth\footnote{this starts on the left.}

\stopblockquote

 

\startrtlblockquote

\input knuth\footnote{this should start on the left, but it doesn't.}

\stoprtlblockquote

 

\input knuth

 

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%

 

According to the wiki, that’s the expected behaviour (https://wiki.contextgarden.net/RTL#Footnotes).

However, I’d prefer to keep the footnotes as LTR footnotes. Can I convince ConTeXt to typeset these footnotes in LTR mode?

 

Best,

Denis