I just installed a fresh version of Basic TeX (version 2019) for Mac after deleting all previous version of TeXLive. Documents which used to compile perfectly now fail due to what seems a very pesky behavior of polyglossia about spaces in front of punctuation.
Example
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{french}
\usepackage{unicode-math}
\begin{document}
C'est un test : hello
\end{document}
fails to compile with warning :
warning (node filter): error: ...ic/texmf-dist/tex/latex/polyglossia/polygloss
ia-frpt.lua:166: attempt to call a nil value (upvalue 'remove_node')
If I remove the space in front of ":" as in
test: hello
then all is fine and the correct space in front of ":" is correctly inserted by polyglossia.
This is more than irritating. There were errors of this type in the past but they had been fixed. Why is it back and how to avoid these spurious warnings ?
Thanks
polyglossiamaintainer, even though at the moment development seems to be largely dormant. https://github.com/reutenauer/polyglossia/issues/222 seems to be pretty much this bug. – moewe Jun 15 '19 at 05:52