luaotfload-harf-plug.lua:408: bad argument #1 to 'char' (value out of range)
Phelype Oleinik
phe.h.o1 at gmail.com
Wed Oct 28 00:37:25 CET 2020
Hi Loreno,
On Tue, Oct 27, 2020 at 7:09 PM Loreno Heer <loreno.heer at bluewin.ch> wrote:
>
> Here is a small example that triggers the error.
> Looks like it does not like \paragraph in front of align*
Here's a smaller one:
\documentclass{article}
\usepackage{polyglossia}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\begin{document}
\setbox0\hbox{\textsc{Vertical}}%
\unhbox0\par
\end{document}
It seems to boil down to this recipe:
- load polyglossia
- load fontspec
- \setmainfont
- \setbox with \textsc (also depends what is in \textsc)
- \unhbox
- BOOM!
Simply moving polyglossia after \setmainfont seems to work (no idea how
well though).
Phelype
More information about the tex-live
mailing list.