On 2025-02-04 11:59, Hans Hagen wrote:
Hi,

NOTA BENE:

The next upload is kind of special so best save the old tex tree if you update.

Indeed. The following

   \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}
   \starttext
      \FontA ABCDEF
   \stoptext

fails with:

   Tex error       > tex error on line 1 in file
   G:/Projects/Testing/bad.tex: Extra \else

   \endgroup \always \edef \normalizedfontsize {37.77924pt=\zeropoint
   \bodyfontsize

   <macro> \typo_normalizers_size
        #1#2->\dimexpr {#1\b_typo_normalizers }=\zeropoint
   \bodyfontsize \else
        \luaexpr {\number \dimexpr 10pt\relax *\number \dimexpr
   #2\relax /\number #1\b_typo_normalizers }\scaledpoint \fi \relax
   <macro> \typo_normalizers_font_at_size
        #1#2#3#4#5->\begingroup \setbox \b_typo_normalizers \hbox
   {\definedfont [#5 at 10pt]\settrialtypesetting #3}\normalexpanded
   {\endgroup \always \edef \noexpand \normalizedfontsize {\the
   \typo_normalizers_size {#1}{#4}
        }}\definefont [\strippedcsname #2]
   <line 3.1>
        \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}

   1 >>  \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}
   2     \starttext
   3       \FontA ABCDEF
   4     \stoptext
   5
   I'm ignoring this; it doesn't match any \if.

--
Rik



___________________________________________________________________________________
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