7

I want to create a glossary and to name it "Glosario" (Spanish), but despite my attempts it continues to print "Glossary". MWE:

\documentclass{article}
\usepackage{hyperref}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\newcommand*{\glossaryname}{Glosario}
\usepackage[nonumberlist, toc]{glossaries}
\newcommand{\dictentry}[2]{%
\newglossaryentry{#1}{name=#1,description={#2}}%
  \glslink{#1}{}%
}
\makeglossaries

\newglossaryentry{CLR}{name=CLR,description={El ambiente de ejecución para el código gestionado}}
\newglossaryentry{.NET}{name=.NET,description={.Net es un framework para el desarrollo de aplicaciones de código gestionado desarrollado por Microsoft.}}

\begin{document}
El \gls{CLR} blablalbla

\newpage
\printglossary[style=altlist, toctitle=Glosario]
\end{document}
6

In your example, replace

\newcommand*{\glossaryname}{Glosario}

with

\usepackage[spanish]{translator}

See pages 12-15 of the glossaries documentation for details.

EDIT: You may also omit toctitle=Glosario in the optional argument of \printglossaries.

  • Thank you! it works, i'm going to look more in deep the documentation. – mjsr Dec 9 '10 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.