gallandarakhneorg / tex-templates

Templates and styles for UTBM, UFC and UB based on tex-upmethodology and Beamer
http://www.multiagent.fr/Publications#LaTeX
GNU Lesser General Public License v3.0
20 stars 10 forks source link

Error when including a glossary #32

Closed gallandarakhneorg closed 1 year ago

gallandarakhneorg commented 1 year ago

When including a glossary in the style for PhD thesis, the following error is output:

LaTeX Error: \begin{description} on input line 2 ended by \end{theglossary}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.202 \end{theglossary}
                     \glossarypostamble

The PhD document includes the following macros:

...
\usepackage{glossaries}
\makeglossaries
...
\begin{document}
...
\newglossaryentry{explaining}{name={explaining}, description={Explaining something}}
...
\gls{explaining}
...
\printglossaries
...
gallandarakhneorg commented 1 year ago

The problem is due to the overriding of the 'description' environment by tex-upmethodology (see Issue 36).

The UPM packages must be fixed.