This simple file
\documentclass{standalone}
\usepackage{polyglossia}
\setdefaultlanguage{portuguese}
\begin{document}
O modelo bond-plus.
\end{document}
generates the error:
! Illegal unit of measure (pt inserted).
<to be read again>
\unskip
l.8 \end{document}
under xelatex
which seems to be a bit cryptic. It works apparently fine with lualatex
. Encapsulatig the term "bond-plus" inside \emph{bond-plus}
generates an even further cryptic error:
! Missing number, treated as zero.
<to be read again>
\aftergroup
l.7 O modelo \emph{bond-plus}
Is this something to be expected? I am running TL'22.
portuguese
language module ofpolyglossia
that only occurs with XeLaTeX. It compiles fine with LuaLaTeX and a couple of other languages I tested compiled without error with both engines.\portuguese@hyphens
ingloss-portuguese.ldf
, but I don't know what exactly is happening there.polyglossia
developers will want to know about).