# MiKTeX and Xindy problems

Today's updates of MiKTeX include Xindy (at last!). This is great news, but unfortunately I can't get it to work. With the following minimal example:

\documentclass{article}
\usepackage[xindy]{glossaries}
\newacronym{AKA}{AKA}{Also Known As}
\makeglossaries
\begin{document}
\printglossaries
\end{document}


makeglossaries fails with exit code 25. This is the contents of the .glg file:

;; This logfile was generated automatically by xindy'
;; at 20.06.2015  07:29:59
;; Indexstyle: "5i3SDna0ed", Rawindex: "Yl65BHMXsP", Output: "test1.gls"

ERROR: "" is not a valid filename !

*** Unable to execute: '"xindy"  -L english  -I xindy -M "test1" -t "test1.glg" -o "test1.gls" "test1.glo"' ***

Failed with error code 1.

Status report:

Opening logfile "test1.glg" (done)

Error in line 1:
(require "")
ERROR: "" is not a valid filename !


and this is the contents of the generated 5i3SDna0ed file

(require "")
(require "test1.xdy")


Do I need to configure something to get Xindy to work?

• You might want to add the glossaries tag as well. Then perhaps Nicola will notice the issue (Nicola is the writer of the glossaries package). She is on the site. Jun 20 '15 at 6:41
• Also it is a strange error. I don't see anything wrong with the line it is attempting to execute Jun 20 '15 at 6:42
• In my case, line 1 of test1.xdy is (require "tex.xdy"). I think (require "") is strange. Jun 20 '15 at 7:55
• I would like to look at it, but I don't have the update yet and the repositories are down currently so I can't get it. So it will have to wait ... Jun 20 '15 at 11:17
• @UlrikeFischer I bet that the error comes from the fact I installed MiKTeX in a directory containing spaces. Jun 23 '15 at 14:28

        @styles = glob("$lang_dir/$variant$cp*-lang.xdy");  by  @styles = glob("'$lang_dir/$variant$cp*-lang.xdy'");

• Joachim says that the solution may break xindy on Unix. Thus we have changed slightly in TeX Live (r37716). The new one is tested to work fine on Windows in the case where \$lang_dir` contains space(s). Jun 30 '15 at 7:25