test2.tex : dummy file with any text (currently a)
This example seems a bit dubious but I encountered this problem when I wanted to switch the last include in my file to another language than the main one.
The error given is : ! Missing } inserted. <inserted text> } l.9 \end{document}
Notice that inserting \null right before the \end{document} seems to fix the compilation issue, and it adds an empty page.
Here is a MWE :
a
)This example seems a bit dubious but I encountered this problem when I wanted to switch the last include in my file to another language than the main one.
The error given is :
! Missing } inserted. <inserted text> } l.9 \end{document}
Notice that inserting
\null
right before the\end{document}
seems to fix the compilation issue, and it adds an empty page.My version of Polyglossia is 1.53 (2021/04/12).