There is one error with the combination of spanish
babel
, pdfx
package, and LuaLaTex engine, how it is very easy to test with this MWE:
\documentclass{article}
\usepackage[spanish]{babel}
\usepackage{amsmath}
\usepackage{pdfx}
\begin{document}
\begin{equation*}
P_{\max}=0.1
\end{equation*}
\end{document}
The .log
contains
! Illegal unit of measure (pt inserted).
<to be read again>
/
l.11 P_{\max
}=0.1
?
! Missing number, treated as zero.
<to be read again>
\xdef
l.11 P_{\max
}=0.1
?
! Illegal unit of measure (pt inserted).
<to be read again>
\xdef
l.11 P_{\max
}=0.1
?
! Illegal unit of measure (pt inserted).
<to be read again>
/
l.11 P_{\max
}=0.1
?
! Missing = inserted for ifdim.
<to be read again>
/
l.11 P_{\max
}=0.1
?
! Missing number, treated as zero.
<to be read again>
/
l.11 P_{\max
}=0.1
?
and a stream of similar complaints all for the same single line.
CreationDate is not properly supported; PDF validation may fail.
with XeLaTeX). The output looks OK as well (I get "máx" for\max
and "0,1" for0.1
) but I assume that is intended ifspanish
is passed tobabel
. Can you please include the relevant bits of your.log
file and a screenshot of the output (if appropriate)..log
. The only relevant difference I could spot on first glance is that mypdfx
package is older than yours. I'll investigate ... edit: Yup. Updatedpdfx
(which wasn't up to date for some reason) and I can now reproduce the error.pdfx
is the culprit. I hadpdfx
v1.6.1 and things worked, after an update to v1.6.3 things don't work any more. So it probably broke in between those two versions.\unaccentedoperators
as a workaround.