General ⇒ glossaries | Problem with Xindy
glossaries | Problem with Xindy
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
glossaries | Problem with Xindy
thanks for your message. It will be fixed in the next version. For now, you should be able to do a temporary fix with the following:
Code: Select all
\makeatletter \renewcommand{\@do@wrglossary}[1]{% \protected@edef\@glslocref{\theglsentrycounter}% \@gls@checkmkidxchars\@glslocref \expandafter\ifx\theHglsentrycounter\theglsentrycounter \def\@glo@counterprefix{}% \else \protected@edef\@glsHlocref{\theHglsentrycounter}% \@gls@checkmkidxchars\@glsHlocref \edef\@do@gls@getcounterprefix{\noexpand\@gls@getcounterprefix {\@glslocref}{\@glsHlocref}% }% \@do@gls@getcounterprefix \fi \ifglsxindy \expandafter\@glo@check@mkidxrangechar\@glsnumberformat\@nil \def\@glo@range{}% \expandafter\if\@glo@prefix(\relax \def\@glo@range{:open-range}% \else \expandafter\if\@glo@prefix)\relax \def\@glo@range{:close-range}% \fi \fi \glossary[\csname glo@#1@type\endcsname]{% (indexentry :tkey (\csname glo@#1@index\endcsname) :locref \string"{\@glo@counterprefix}{\theglsentrycounter}\string" % :attr \string"\@gls@counter\@glo@suffix\string" \@glo@range ) }% \else \@set@glo@numformat{\@glo@numfmt}{\@gls@counter}{\@glsnumberformat}% {\@glo@counterprefix}% \glossary[\csname glo@#1@type\endcsname]{% \string\glossaryentry{\csname glo@#1@index\endcsname \@gls@encapchar\@glo@numfmt}{\theglsentrycounter}}% \fi } \makeatother