Hi Hans,

Thanks a lot, the function nuts.dimensions seems to work again as before.

 

Another issue I am seeing now is that for some reason the dir nodes push/pop are unbalanced. If I understand the logic of these whatsit nodes they behave like a stack to control the text direction, so I’d assume the number of push nodes and pop nodes is balanced. Currently I see 2 pop for 1 push in shipouts callback (but balanced pop/push nodes in processors callback). If that’s expected from now on I’ll change the logic in my handler.

 

Simple MWE that reproduces is attached.

 

Thanks

Best regards

 

Joseph

 

De : Hans Hagen
Envoyé le :jeudi 8 février 2018 10:14
À : ntg-context@ntg.nl
Objet :Re: [NTG-context] Change of nuts.dimensions function ?

 

On 2/7/2018 2:57 PM, Joseph Canedo wrote:

> Hello all,

>

> It seems that with latest ConTeXt beta (with luatex 1.07.0) it seems

> that nuts.dimensions function behaviour has changed. Simple MWE shows

> the change.

>

> Which function should be used now to get natural width of a range [n, t[

> of nodes please?

i'll check it but if you're on windows you're running the (currently

very) experimental version which can actually be broken in some aspects

(so you then need to update regularaly)

 

Hans

 

 

-----------------------------------------------------------------

                                           Hans Hagen | PRAGMA ADE

               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

-----------------------------------------------------------------

___________________________________________________________________________________

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://context.aanhet.net

archive  : https://bitbucket.org/phg/context-mirror/commits/

wiki     : http://contextgarden.net

___________________________________________________________________________________