I’ll try this in a minute. Thanks a million.
Another bit of complexity, if I have some words in different font (only a few of them), should I call tohbox for these separately and “chain” the different hboxes together ? For example the idea is to “emulate” for instance:

The second line has a word typeset in {\tfx smaller } size.

Thanks a lot again for your help,

Best regards,

Joseph

From: Hans Hagen
Sent: ‎Thursday‎, ‎November‎ ‎19‎, ‎2015 ‎8‎:‎11‎ ‎PM
To: ntg-context@ntg.nl

On 11/19/2015 5:16 PM, josephcanedo@gmail.com wrote:
> Attached simple MWE. The second line has no ligatures/ no glyph
> substitution/ kern

use this ...

\startluacode
     userdata = userdata or { }

     if not nodes.typesetters.tohbox then
         function nodes.typesetters.tohbox(...)
             local list = nodes.typesetters.tonodes(...)
             local head = nodes.processors.hpack_filter(list)
             local hbox = node.hpack(head)
             return hbox
         end
     end

     function userdata.typeset(text)
         node.write((nodes.typesetters.tohbox(text)))
     end

\stopluacode

i'll add tohbox to the core


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________