[NTG-context] footnotes when using RtL (Arabic)

talazem at fastmail.fm talazem at fastmail.fm
Tue Jul 21 21:56:24 CEST 2015


I’m reviving this old thread, as the problem appears to still exist. Consider the following:

> \starttext \showframe
> 
> \definenote[afootnote][rule={on,right},paragraph=no]
> 
> \startalignment[r2l]
> Testing.\afootnote{This is footnote one.}
> Testing testing.\afootnote{This is footnote two.}
> Testing testing testing.\afootnote{This is footnote three.}
> \stopalignment
> 
> \stoptext

-------------- next part --------------
A non-text attachment was scrubbed...
Name: r2l.pdf
Type: application/pdf
Size: 10176 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150721/93e49a10/attachment-0002.pdf>
-------------- next part --------------


In the output (r2l.pdf), the text runs from right to left as it should, and the footnote reference numbers are in the right margin, as they should be.

However, if we switch the option “paragraph” to “yes”, the entire frame no longer runs r2l (see the output in r2l-yes.pdf).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r2l-yes.pdf
Type: application/pdf
Size: 10109 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150721/93e49a10/attachment-0003.pdf>
-------------- next part --------------

What I want is for the text to read as follows:
> .eerht etontoof si sihT 3  .owt etontoof si sihT 2  .eno etontoof si sihT 1

where the entire frame begins at the right margin, such that the first footnote number (1) is in the right margin, instead of in the left margin as it is in r2l-yes.pdf. To say it another way, the entire footnote frame should be r2l, regardless of its contents, perhaps (as Idris wrote to me) through some hard direction switch for the entire frame.

Best wishes,
Talal


More information about the ntg-context mailing list