The document below results in
Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref) removing `\textgerman' on input line 1.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.27 \end{theglossary}
\glossarypostamble
? X
when after XeLaTeX, makeglossaries I XeLaTeX again.
\documentclass[a4paper, twoside]{book}%[a4paper,oneside]
\usepackage{polyglossia}
\setdefaultlanguage[spelling=new]{german}
\setotherlanguages{english, greek}
\usepackage[citecolor=black,urlcolor=black,linkcolor=black]{hyperref}
\hypersetup{
colorlinks=true,
}
\usepackage[xindy={language=german,codepage=duden-utf8},
nonumberlist,
toc,
nopostdot,
style=altlist,
nogroupskip
]{glossaries}
\GlsSetXdyCodePage{duden-utf8}
\makeindex
\makeglossaries
\newglossaryentry{computer}
{
name=computer,
description={is a programmable machine that receives input,
stores and manipulates data, and provides
output in a useful format}
}
\begin{titlepage}
\title{Meine Chance\\Projektarbeit und IT-Basics}
\author{Erik Itter}
\end{titlepage}
\begin{document}
\maketitle
\tableofcontents
\printglossary
\chapter{Recherche}\index{Rechercher}
\chapter{Projektarbeit}\index{Projektarbeit}
\chapter{Präsentation}
\section{Dokument/ Ausarbeitung}
\section{Vortrag}
\chapter{Techniken}
\section{Mind-Map}\index{Techniken!Mind-Map}\index{Mind-Map}
\end{document}
and I have no idea if specifying the language/ code page this way is correct as well, just tried what I found after it told me it had no module for German utf8
\makeglossaries, theperlscript rather thanxindydirectly. See page 44 of the manual. Also, it is recommended not to define glossary entries after\begin{document}. – cfr Dec 08 '16 at 03:26\printglossarytwice? Is the indexing required for the error? You never use it... – cfr Dec 08 '16 at 03:29hyperrefshould be loaded last with certain specific exceptions, notablycleverefandglossaries. – cfr Dec 08 '16 at 03:45xindyfor the index. Usemakeglossariesfor the glossary and it works fine. – cfr Dec 08 '16 at 04:17\glsorglsaddin your document? There's a debugging method for glossaries in this answer – Nicola Talbot Dec 08 '16 at 19:40