I'm currently unable to get Glossaries to work.
The documents builds fine. No errors whatsoever. But it's not printing the glossary even tho it creates a hyperref at the \glo{computer} which leads to the very first page of the document (invalid hyperref)
Here's a minmal working example:
\documentclass[
fontsize=11pt,
a4paper,
pdflatex
]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amsfonts, amssymb, graphicx, wrapfig, lmodern, fancyhdr, microtype}
\usepackage[perpage]{footmisc}
\usepackage[hidelinks]{hyperref}
\usepackage[xindy,
toc,
section,
acronym]{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{Symbolverzeichnis}
\newacronym{cd}{CD}{compact disk}
\newglossaryentry{computer}
{
name=computer,
description={is a programmable machine that receives input,
stores and manipulates data, and provides
output in a useful format}
}
\makeglossaries
%Damit ich 1.5 Zeilenabstände habe
\usepackage[onehalfspacing]{setspace}
%Der Seitenrand
\usepackage[left=2.5cm,
right=5.5cm,
top=2.5cm,
bottom=2.5cm]
{geometry}
\begin{document}
\section{Some Chapter}
You can install \gls{computer}-software using a \gls{cd}
\printglossaries
\end{document}
It contains all the packages I'm using even when they're not needed in the MWE (In case that some of them are incompatible)
Also: I'm currently using no .glo file. Is there any external program like JabRef where I can edit my glossary the way I do it with BibTeX?
I hope you guys can help me. I would really appreciate it
Best Answer
You don't mention
makeindex
in your question, are you running the makeindex command? From the manual:For a quick, easy solution, change
\makeglossaries
to\makenoidxglossaries
and\printglossaries
to\printnoidxglossaries
.This is a bit slower than the usual commands without
noidx
, but it's no problem unless you have a huge glossary.