[luatex] Example of error when using \xfrac
Scott Kostyshak
skostysh at lyx.org
Tue Sep 10 16:57:31 CEST 2019
Dear Henri,
Thanks for the quick reply, explanation, and advice!
Best,
Scott
On Tue, Sep 10, 2019 at 10:10:22AM +1200, Henri Menke wrote:
> Dear Scott,
>
> This breaks because of luainputenc, which you should not be using in the first
> place. It makes all kinds of Unicode characters active which blows up when
> building character tables in expl3. If you insist on using luainputenc, you
> have to change the order of loading packages, like in the MWE below. My advice
> is to just remove luainputenc, because recent LaTeX switches to UTF-8 by
> default and actually does the right thing.
>
> Cheers, Henri
>
> ---
>
> \documentclass[english]{article}
> \usepackage{lmodern}
> \usepackage[LGR,T1]{fontenc}
> \usepackage{xfrac}
> \usepackage[utf8]{luainputenc}
>
> \begin{document}
> \sfrac{A}{\kern-.08em S}
> \end{document}
>
> On 9/10/19 8:27 AM, Scott Kostyshak wrote:> Hi,
> >
> > I get an error when compiling the attached example file with LuaTeX on
> > an updated TL 2019 system. I also attach the log, which contains the
> > following error:
> >
> > ! Undefined control sequence.
> > \GenericError ...
> > #4 \errhelp \@err@ ...
> > l.27238 }
> >
> > ? X
> >
> > I don't know much about TeX (or LuaTeX), but the example file used to
> > compile on an older TL version. Is the example now invalid?
> >
> > Best,
> >
> > Scott
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://tug.org/pipermail/luatex/attachments/20190910/5bccfec3/attachment.sig>
More information about the luatex
mailing list