# Can't get Glossaries to work (Beginner)

I'm honestly sorry for my stupid question but i just cannot get glossaries to function. I'm constantly reading that I should execute some sort of pearl script where i need a pearl processor or something.

I'm currently on a Windows 7 Computer with a pretty new and intact MikTeX installation using TeXmaker as Client.

I tried multiple times creating new .tex files and copy & pasting minimal examples but I just cant get it to work

Here's a MWE:

\documentclass[
fontsize=11pt,
a4paper,
pdflatex
]{article}

\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage[T1]{fontenc}

\usepackage{Blindtext}

\usepackage{glossaries}
\makeglossaries

\begin{document}

\section{Story of an Apple}
\Blindtext

\section{Story of a Pear}
\Blindtext

\newglossaryentry{apple}{ name=apple, description={it's used as an example fruit}}
\newglossaryentry{pear}{ name=pear, description={it's used as an example fruit}}

\end{document}


It's sadly not working. Would be really cool if you guys could help me

Also the compiler tells me this:

! LaTeX Error: File tracklang.sty' not found.


I already doublechecked. The File is installed. Also my MikTeX installation isn't older than a month.

Thanks for all your help. I really appreciate it.

• Do you know the term MWE? It's a pretty nice feature ;-) – user31729 Jun 10 '15 at 19:53
• – user31729 Jun 10 '15 at 19:55
• Thanks for uploading the MWE. I just copied and compiled it: It runs out of the box on TeXLive 2014 (freeze state april 2015) and Linux – user31729 Jun 10 '15 at 20:01
• Yes, that's the best thing you can do – user31729 Jun 10 '15 at 20:04
• Make sure that your package database is up-to-date by using in the package manager (user and admin version) repositories->synchronize. – Ulrike Fischer Jun 10 '15 at 20:14

So I ran your MWE (well done, by the way), and you're just missing one line: put it before \end{document}.

\printglossaries


Make sure you're compiling your .tex file; then compiling your glossary with makeglossaries on your .glo file; then compiling our .tex file again. With this process, adding the above line to your MWE printed the glossary just fine. (I also replaced Blindtext with lipsum, because I have the latter and the not the former.)

\documentclass[
fontsize=11pt,
a4paper,
pdflatex
]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{glossaries}
\makeglossaries
\begin{document}
\section{Story of an Apple}
\lipsum
\section{Story of a Pear}
\lipsum
\newglossaryentry{apple}{ name=apple, description={it's used as an example fruit}}
\newglossaryentry{pear}{ name=pear, description={it's used as an example fruit}}
`