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
xindyare you using? (If you runxindy.pl --versionon the command prompt, it should tell you.) Also, try running thexindycommand explicitly instead of usingmakeglossaries. (The 4th line in your transcript above.) – Nicola Talbot Jan 13 '14 at 12:27TeX-SE_test.glg:*** Unable to execute: 'xindy -L english -I xindy -M "TeX-SE_test" -t "TeX-SE_test.glg" -o "TeX-SE_test.gls" "TeX-SE_test.glo"' ***. But I see now also, thatxindy -Vleaves to nothing here, not even an error. Must be further investigated. The test case in my linked tutorial works, though. – Speravir Jan 13 '14 at 17:22xindy, butmakeindex. Also the direct call on commandlinexindy -L english -I xindy -M "TeX-SE_test" -t "TeX-SE_test.glg" -o "TeX-SE_test.gls" "TeX-SE_test.glo"did not work. The strangest part here is, I do not get any error message. – Speravir Jan 13 '14 at 17:51makeindexdoesn't play well with UTF-8. – fsutherland Jan 13 '14 at 18:27makeindexdirectly (see glossaries documentation) and its manual sorting rules withactualkey. 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 startingtl-tray-menu.exe. – Speravir Jan 13 '14 at 18:44sortkey for\newglossaryentryand companions. – Speravir Jan 13 '14 at 20:33texmf.cnf. Perhaps it’s better to avoid this, but this needs tests … – Speravir Jan 13 '14 at 23:27xindy.plI was successful here, but the error message of the OP shows backslashes in the filename, what are directory dividers in Windows. I remember now, that I once had this problem withglossaries, too. Could it be, that the OP should update your package? – Speravir Jan 14 '14 at 00:22/as a directory divider in Windows, so perhaps trymakeglossaries -x "C:/localtexmf/scripts/xindy/xindy.pl" "example"– Nicola Talbot Jan 14 '14 at 09:22$^Oand if the OS is Windows the script substitutes backslashes for forward slashes (which should work with Perl on Windows). If you want to test it before I upload it to CTAN you can fetch the Perl script from http://www.dickimaw-books.com/expl/makeglossaries (The link will expire after I've uploaded the new version ofglossaries.) – Nicola Talbot Jan 17 '14 at 11:11runsystem(xindy -I xindy -L english -M myDoc -C utf8 -t myDoc.clg -o myDoc.cyi myDoc.cyg)...failed.I've 10 glossaries and the above is the only one where xindy fails. How do I check to see what is causing xindy to fail? – RosesBouquet Mar 13 '24 at 03:43