Skip to content

collectexercises don't work with TeX Live 2025.2 #130

@lekcyjna123

Description

@lekcyjna123

Hi,
recently I have updated my Arch Linux and one of the updated packages was TeX Live, which has been updated to 2025.2 version. After that the code which worked on previous versions stopped to compile. I was able to create a minimal example and I have also found a workaround. If I use activatecollection / deactivatecollection then everything if OK, but if I would like to collect exercises using collectexercises then I got an error.

\documentclass{article}

\usepackage{xsim}
\usepackage{tikz}

\DeclareExerciseCollection[tags=L1]{setBar}

%\activatecollection{setBar}
%\xsimsetup{exercise/collect=true}
\collectexercises{setBar}
\begin{document}
\begin{exercise}[tags={L1}]
Foo bar
\end{exercise}
%\deactivatecollection{setBar}
\printcollection{setBar}

\end{document}

The above code is NOK. Comment collectexercises and uncomment rest of lines to get an OK case. If I remove usepackage{tikz} in this example then it also starts to works, but in an bigger document with more packages removing tikz doesn't solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions