On 11/19/2022 11:20 PM, Orders wrote:
I run luatex for plain TeX using the miktex installation under linux
mint 21.  I upgraded the miktex installation today, and single-character
subscripts and superscripts cause an error.


For example, $x_1$ produces the following error

! \textfont-1 is undefined (character 49).
l.2 The incorrect variable is $x_1$

Enclosing the sub/superscript in braces ($x_{1}$) fixes the problem.

A minimal test program is as follows:

\input luaotfload.sty
The incorrect variable is $x_1$.  The correct variable is $x_{1}$.
\end

Is there any change which might cause this?  Is this a miktex problem?
maybe you're using the experimental version, can you try

\variablefam=-1 % or 99 or so

if that works, you just have to wait till a pending 'default value' patch bubbles up

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

Reply via email to