Attached simple MWE. The second line has no ligatures/ no glyph substitution/ kern

Using: ConTeXt  ver: 2015.10.09 21:28 MKIV beta  fmt: 2015.11.1

Thanks

Best regards

Joseph

From: josephcanedo@gmail.com
Sent: ‎Wednesday‎, ‎November‎ ‎18‎, ‎2015 ‎10‎:‎36‎ ‎PM
To: ntg-context@ntg.nl

> are you sure that you defined that font and that it's the current font?
I’ll double check my code and may I send you a MWE if I can still not see the ligatures and stuff. I’ll try also with new beta (have not installed yet)  just in case.

> just put stuff in vboxes and loop over that; at the tex end with calls to lua
Not sure I follow what you mean, sorry about this. I am quite a newbie in ConTeXt and in TeX more generally.

Thanks

Joseph

From: Hans Hagen
Sent: ‎Wednesday‎, ‎November‎ ‎18‎, ‎2015 ‎10‎:‎22‎ ‎PM
To: ntg-context@ntg.nl

On 11/18/2015 9:49 PM, josephcanedo@gmail.com wrote:
> Hi Hans
>
> First of all, thanks a lot for replying.
>
> I tried your suggestion and it does not seem to work at least for fancy
> features in EB Garamond (historical liguratures and other features).
> I also tried to pass the hbox to tex.linebreak() and got assertion
> failure in luatex.

are you sure that you defined that font and that it's the current font?

> Is there any code snippet available to show the full process in lua code
> (I mean up to shipping the result nodes to the page) ?

no ... thousands of lines spread over many files

> To give some background, I’d like to compute a parshape for some
> paragraphs for which I’d like some special shape. I thought that one
> idea was to build up the lua nodes from text (which has some occasional
> words with  smaller or different font style), compute the width of text
> to figure out a first guess for parshape and then iterate on linebreak
> with different parshape settings to refine the first guess.

just put stuff in vboxes and loop over that; at the tex end with calls
to lua

Hans


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________