The problem seems to be that, in spanish, the operator "lim" has a tilde over the "i". The same thing happens with the operator "min", as it also has a tilde over the "i".
The error message is: "You can't use '\unhbox' after \the\lim". And there is a warning: "Command \i invalid in math mode."
It is possible that the same problem arises with languges other than spanish.
There is an incompatibility issue with the stix.sty package for LaTeX and the babel.sty package in spanish mode. Here is an example code:
\documentclass{article}
\usepackage{amsmath} \usepackage[spanish]{babel} \usepackage{stix}
\begin{document} \begin{equation} \lim \end{equation} \end{document}
The problem seems to be that, in spanish, the operator "lim" has a tilde over the "i". The same thing happens with the operator "min", as it also has a tilde over the "i". The error message is: "You can't use '\unhbox' after \the\lim". And there is a warning: "Command \i invalid in math mode." It is possible that the same problem arises with languges other than spanish.
Reported by: nobody
Original Ticket: stixfonts/tracking/41