glossaries or tracklang bug?

by muk.li   Last Updated June 30, 2020 02:23 AM

After upgrading to TeX Live 2020 some of my files don't build any more. It seems something has changed with what happens when a language is added to the document via polyglossia, for which no glossaries language module exists.

\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{sanskrit}
\newfontfamily\sanskritfont{Latin Modern Roman}[Ligatures=TeX]
\usepackage{glossaries}
\makeglossaries
\begin{document}
Something
\end{document}

Produces the following error message:

(/usr/local/texlive/2020/texmf-dist/tex/latex/tracklang/tracklang.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/tracklang/tracklang.tex))
! Extra \else.
\@[email protected] ...\relax #2\else #3\fi \else 
                                                  \expandafter \ifx \csname ...
l.1194   {}
           %
? 


Related Questions




Conflict between polyglossia and glossaries-extra?

Updated August 22, 2018 10:23 AM

Multiple glossaries with glossaries-extra

Updated February 21, 2019 15:23 PM