[NTG-context] bidi in footnotes

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Jun 22 22:13:22 CEST 2018

> Idris Samawi Hamid ادريس سماوي حامد <mailto:Idris.Hamid at colostate.edu>
> 22. Juni 2018 um 21:01
> On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau 
> <braslau.list at comcast.net> wrote:
> Many thanks. Is there (Hans? Wolfgang?) available somewhere
> 1. a complete list of these environments whose typographical settings 
> are decoupled from the rest of the document?

The problem you mentioned isn’t limited to bidi but applies also to 
linbreaking for east asian languages (e.g. chinese) and fixing it makes 

The reason why you have to re-enable the functions is that certain 
environment disable a number of Lua attributes to avoid side effects, 
e.g. to change the footnote color when you change the text color at the 
page break.

One way to fix this is to make the attributes of the affected commands 
global which means they won’t be reseted, e.g. change the line 




Another way is to re-enable the commands in footnotes etc.

         \ifcase\directionsbidimode \else
     \to \everybeforenoteinsert

There are three parts in context where attributes are disabled which 
affects bidi:

1. Note inserts which affects \footnote.

2. Margin data which affects \inmargin etc.

3. The output routine which affects header and footer lines.

2. a complete list of those typographical settings (bidi, whitespace, 
etc,) which are have to explicitly setup for such environments?

Whitespace etc. are unrelated to the problem above and can be changed 
with the normal setup-commands.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180622/19ab21ca/attachment-0001.html>

More information about the ntg-context mailing list