I get some errors of the following type when using my glossary.
If I take out either theERROR: Missing number, treated as zero.
--- TeX said ---
<to be read again>
\gls@numberpage
l.5 ...etentrycounter[]{page}\glsnumberformat{1}}}
\frontmatter
line or the \usepackage[...]{babel}
, no errors are shown.Thanks!
Code: Select all
\documentclass[12pt,a4paper,twoside]{book}\usepackage{siunitx}\usepackage[acronym,toc,nonumberlist,nogroupskip]{glossaries}\usepackage[spanish,es-nosectiondot,es-tabla]{babel}\newglossary[slg]{symbolslist}{syi}{syg}{Simbolos}\glsaddkey{descripES}{}{\glsentrydescripES}{\GLsentrydescripES}{\glsdescripES}{\GlsdescripES}{\GLSdescripES}\glsaddkey{unit}{\glsentrytext{\glslabel}}{\glsentryunit}{\GLsentryunit}{\glsunit}{\Glsunit}{\GLSunit}\makeglossaries\newglossaryentry{ap}{unit={\si{mm}}, name={\ensuremath{z_p}},description={2}, type=symbolslist, descripES={mi desc}}\newglossarystyle{symbunitlong}{ \setglossarystyle{long3col}\renewenvironment{theglossary}{\begin{longtable}{lp{0.6\glsdescwidth}>{\centering\arraybackslash}p{2cm}}}{\end{longtable}}\renewcommand*{\glossaryheader}{ \bfseries Sign & \bfseriesDescription & \bfseries Unit \\ \hline \endhead}\renewcommand*{\glossentry}[2]{ \glstarget{##1}{\glossentryname{##1}}& \glsdescripES{##1} & \glsunit{##1} \tabularnewline } }\begin{document}\frontmatter \printglossary[type=symbolslist, style=symbunitlong]\mainmatter\glsunit{ap} \gls{ap}\backmatter\end{document}