On 9/10/2025 12:40 AM, Matthias Weber wrote:
When I include a descriptive text in an enumeration in SmallCapped, the last 
letter sometimes gets somewhat large.
It only happens with alternative=serried, and only in some fonts. Below an 
example (thanks to Wolfgang for showing how to loop over fonts).

I use Pagella, where I first noticed it. What precisely does “serried” do?

It's one of the rare situations where we unhbox something which means that the node list gets processed twice and then the fonts kern interferes.

\showfontkerns

I will fix it (and then probably need to check a few more handlers) but here is a quick hack (different solution) that you can put in cont-new.mkxl:

\permanent\protected\def\flushconstructionheadbox
  {\ifhbox\constructionheadbox
     \scratchdimen\boxrepack\constructionheadbox
   \fi
   \box\constructionheadbox}

which might work ok here.

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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to