Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm having trouble getting makeglossaries to run with xindy under MiKTeX.

Take example.tex here:

\documentclass[12pt]{book}   
\usepackage[xindy]{glossaries}

\newglossaryentry{egbert}{name={Egbert}, description={Egbert the Egg.}}     
\makeglossaries

\begin{document}

\gls{egbert} is my favourite!

\printglossaries

\end{document}

When makeglossaries is run on it, it yields the following error:

c:\example>makeglossaries -x "C:\localtexmf\scripts\xindy\xindy.pl" "example"
makeglossaries version 2.09 (2013-11-12)
added glossary type 'main' (glg,gls,glo)
C:\localtexmf\scripts\xindy\xindy.pl  -L english  -I xindy -M "example" -t "example.glg" -o "example.gls" "example.glo"
Opening logfile "example.glg" (done)
Reading indexstyle...
Loading module "KrcJssJlGD"...
Loading module "lang/english/latin9-lang.xdy"...
Loading module "lang/english/latin9.xdy"...
Finished loading module "lang/english/latin9.xdy".
Finished loading module "lang/english/latin9-lang.xdy".
Loading module "example.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "example.xdy".
Finished loading module "KrcJssJlGD".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "\"yPYZwvNIIm\""...ERROR: PARSE-NAMESTRING: syntax error in filename "\"yPYZwvNIIm\"" at position 0


***Call to xindy failed***

Check 'example.glg' for details

Edit (2014-01-13 8:41 EST):

xindy version information:

C:\example>xindy.pl --version
xindy release: 2.4
xindy.pl script version: 1.16
xindy kernel version: 3.0
CLISP version 2.49 (2010-07-07) (built on cj3001517-a [192.168.1.20])
architecture: PC/686

Output of xindy called by itself is the same: (except for the name of raw-index)

C:\example>C:\localtexmf\scripts\xindy\xindy.pl  -L english  -I xindy -M "example" -t "example.glg" -o "example.gls" "example.glo"
Opening logfile "example.glg" (done)
Reading indexstyle...
Loading module "uG0b_gG5K2"...
Loading module "lang/english/latin9-lang.xdy"...
Loading module "lang/english/latin9.xdy"...
Finished loading module "lang/english/latin9.xdy".
Finished loading module "lang/english/latin9-lang.xdy".
Loading module "example.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "example.xdy".
Finished loading module "uG0b_gG5K2".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "\"RkydxkLNfW\""...
ERROR: PARSE-NAMESTRING: syntax error in filename "\"RkydxkLNfW\"" at position 0
share|improve this question
    
Did you add xindy according to How to use Xindy with MiKTeX? (or in a similar manner)? –  Speravir Jan 13 at 4:41
    
And forgotten: Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Speravir Jan 13 at 4:45
    
@Speravir Yes, I did follow the instructions in that post, although it's possible I made a mistake somewhere in the process. –  fsutherland Jan 13 at 4:52
1  
@fsutherland Use makeindex directly (see glossaries documentation) and its manual sorting rules with actualkey. Or install TeX Live portable. You must use then the command prompt provided from the menu, when you click on the tray bar symbol (also updating works from there). You get the tray entry with starting tl-tray-menu.exe. –  Speravir Jan 13 at 18:44
1  
@fsutherland There is also the sort key for \newglossaryentry and companions. –  Speravir Jan 13 at 20:33

1 Answer 1

I changed my tutorial How to use Xindy with MiKTeX? to reflect the changes of xindy and texindy executables. The new approach does work with the minimal example in the question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.