slatex / sTeX

A semantic Extension of TeX/LaTeX
50 stars 9 forks source link

\setnotation outside module leads to deep recursion #407

Closed kohlhase closed 12 months ago

kohlhase commented 12 months ago

The MWE is

\documentclass{stex}
\libinput{preamble}
\begin{document}
\usemodule[smglom/sets]{mod?finite-cardinality}
\setnotation{card}{bars}
\begin{smodule}{foo}
\begin{sdefinition}
  $\card{V}$
\end{sdefinition}
\end{smodule}
\end{document}

If I comment out \setnotation, no problem

Jazzpirate commented 12 months ago

fixed and pushed

kohlhase commented 12 months ago

Excellent, thanks.