Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
And shorter still, isolating the problem to something in \limitatetext:  \setupdirections [bidi=on,method=two]  \starttext  \limitatetext {Mairzy doats and dozy doats and liddle lamzy divey} {4cm}  \stoptext -- Rik

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi Henry, Thank you for your proposition. I tested both : the first work but not the second. Fabrice lua error > lua error on line 13 in file /home/viserion/Ntg_7.tex: ...ext/tex/texmf-context/tex/context/base/mkiv/tabl-xtb.lua:1269: attempt to index a nil value (upvalue 'data') 3 4

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections line removed, all is well. However, that line is

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:26 PM, Henri Menke wrote: > On 1/27/19 12:08 PM, Fabrice Couvreur wrote: >> Hi, >> How to color the first column as I did for the first line ? > > Stolen from Wolfgang's answer on TeX.SX. > https://tex.stackexchange.com/a/464771 > You could also evaluate the conditional purely in

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:08 PM, Fabrice Couvreur wrote: > Hi, > How to color the first column as I did for the first line ? Stolen from Wolfgang's answer on TeX.SX. https://tex.stackexchange.com/a/464771 \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \startuseMPgraphic {tablebackground} fill OverlayBox

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J" } local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" }