I am having troubles using the Glossaries Package with some self-built hebrew characters using \libertineGlyph and \makebox. An entry looks like this:
\newglossaryentry{{ע\makebox(-1,8)[r]{\libertineGlyph{uni02DC}}ה}}{name={\RL{{ע\makebox(-1,8)[r]{\libertineGlyph{uni02DC}}ה}},description={‘Peace be with her’ oleho hascholaum}}}
Example:
\documentclass[10pt,a5paper,twoside]{scrbook}
\usepackage[onehalfspacing]{setspace}
\usepackage[bmargin=2.25cm]{geometry}
\usepackage{polyglossia, xunicode}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\ihead{\headmark}
\ohead{\pagemark}
\setheadsepline{0.4pt}
\setkomafont{pageheadfoot}{\normalfont\normalcolor\small}\setkomafont{pagenumber}{\normalfont}
\addtokomafont{pagehead}{\normalfont}
\setkomafont{disposition}{\normalcolor\bfseries}
\clubpenalty=10000
\widowpenalty=10000
\usepackage{color}
\usepackage{multicol,multirow, bigdelim} %%deleted times
%%%FONTS AND LANGUAGES
\usepackage{fontspec}
\usepackage{libertine}
\setmainfont[Ligatures=TeX]{Linux Libertine}
\setmainlanguage{german}
\setotherlanguage{hebrew}
\newfontfamily\hebrewfont[Script=Hebrew]{Ezra SIL}
\usepackage[parfill]{parskip}
\usepackage[series={A,B,C}]{reledmac}
\usepackage{reledpar}
\setgoalfraction{0.85}
\lineation{section}
\linenummargin{right}
%\setRlineflag{}
\linenumincrement*{5}
\firstlinenum*{0}
\maxchunks{10000}
%START GLOSSAR%%%%%%%%%%%%%%%
\usepackage[xindy]{glossaries}
\makeglossaries
\input{../glossaries.tex}
\setglossarystyle{tree}
%% Glossary Entry
\newglossaryentry{glosse1}{name={\RL{{ע\makebox(-1,8)[r]{\libertineGlyph{uni02DC}}ה}},description={‘Peace be with her’ oleho hascholaum}}}
%END GLOSSAR%%%%%%%%%%%%%%
\usepackage{metalogo,hyperref}
\Xendbeforepagenumber{S.\,}
\Xendafterpagenumber{:\,}
\Xendlineprefixsingle{Z.\,}
\renewcommand{\thefootnoteA}{\fnsymbol{footnoteA}}
\newcommand\einzugjid{\hangindent=5mm\hangafter=1}
\newcommand\speaker[1]{\noindent{#1} \einzugjid
}
\newcommand\einzug{\hangindent=5mm\hangafter=1}
\newcommand\speakerd[1]{\noindent
{\textsc{#1}} \einzug
}
\usepackage[normalem]{ulem}
\begin{document}
\begin{pages}
\begin{Leftside}\begin{hebrew}
\setRTL
\beginnumbering
\pstart {\RL{\speaker{יוקב.}
געלטע דאָס גִיט אָבער לאָסטיג
\edgls{האנאָרים}
?}} \pend
\pstart {\RL{\speaker{בויער.}
יאָ, דאָס גלעב אייך. הויא פערדיענסט דוא אַהך ניט פֵֿיעל. }}
\pend
\pstart {\RL{\speaker{יוקב.}
פֿערדיענט אייכס דאָך אין אַה פֿירטעל יאָהר, וואָהס מייכ‘ס הויא \edgls{glosse1} און מאָר קאָסט.
\textit{)}\textit{זייפצט}.\textit{(}
}} \pend
\endnumbering
\end{hebrew}
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart \speakerd{Person1.} {Gell}, Text…? \pend
\pstart \speakerd{Person 2.} Text… \pend
\pstart \speakerd{Person1.} Text…. \textit{(Seufzt.)} \pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\printnoidxglossaries
\end{document}

\newglossaryentrymust be a label. It can't contain any code in it. The label is used as a reference and is not typeset anywhere. – Nicola Talbot Jul 30 '17 at 10:51\documentclass{article}\usepackage[xindy]{glossaries}\makeglossaries \newglossaryentry{label}{name={\RL{{ע\makebox(-1,8)[r]{\libertineGlyph{uni02DC}}ה}},description={‘Peace be with her’ oleho hascholaum}}}}\begin{document}\gls{label}\printglossaries\end{document}and add the packages that provide\RLand\libertineGlyph. – Nicola Talbot Jul 30 '17 at 16:14times. It is deprecated anyway and certainly irrelevant here. As @NicolaTalbot said, yourlabelis bad. You need a simple text label here. Note that you aren't making it easy to help because anybody trying to help is going to get errors which are irrelevant. For example, your code requires aglossaries.texin the directory above the working one, which most people won't have and won't be the same as yours anyhow. Also, if the problem can only be reproduced with that font, we'll need a link. Otherwise, try to use something people are likely to have already. – cfr Jul 30 '17 at 20:50polyglossiabefore setting the languages. Surely you get an error from this? Alsohyperrefis being loaded too early. Can you not make your example smaller? Do you need the Biblatex and critical edition stuff? (This requests at least one more file only you have and nobody here can access.) I guess you know thatgeometryis not recommended with KOMA. – cfr Jul 30 '17 at 20:57