I try to use xindy in MiKTeX. When I compile
\documentclass[a4paper]{article}
\usepackage{makeidx}
\makeindex
\begin{document}
test\index{test}\index{text}
\printindex
\end{document}
with
latex test.tex
texindy test.idx
it prints
C:/Program is not an internal command, external command, program or batch file.
Opening logfile "nul" (done)
Reading indexstyle...
Loading module "r0Ri4_6RwG"...
Loading module "lang/general/latin9-lang.xdy"...
Loading module "lang/general/latin9.xdy"...
Finished loading module "lang/general/latin9.xdy".
Finished loading module "lang/general/latin9-lang.xdy".
Loading module "tex/inputenc/latin.xdy"...
Finished loading module "tex/inputenc/latin.xdy".
Loading module "texindy.xdy"...
Loading module "numeric-sort.xdy"...
Finished loading module "numeric-sort.xdy".
Loading module "latex.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "latex.xdy".
Loading module "latex-loc-fmts.xdy"...
Finished loading module "latex-loc-fmts.xdy".
Loading module "makeindex.xdy"...
Finished loading module "makeindex.xdy".
Loading module "latin-lettergroups.xdy"...
Finished loading module "latin-lettergroups.xdy".
Finished loading module "texindy.xdy".
Loading module "page-ranges.xdy"...
Finished loading module "page-ranges.xdy".
Loading module "word-order.xdy"...
Finished loading module "word-order.xdy".
Finished loading module "r0Ri4_6RwG".
Finished reading indexstyle.
Finalizing indexstyle... (done)
Reading raw-index "zBpYoFHjX4"...
Finished reading raw-index.
Processing index... [10%] [20%] [30%] [40%] [50%] [60%] [70%] [80%] [90%] [100%]
Finished processing index.
Writing markup... [10%] [20%] [30%] [40%] [50%] [60%] [70%] [80%] [90%] [100%]
Markup written into file "test.ind".
The problem is that text.ind contains an empty theindex environment. Also, with the option -d kepp_tmpfiles I can see that the raw-index file is empty (the file zBpYoFHjX4above).
Note, the error/warning message C:/Program is not an internal command, ... from texindy.
I don't know if the following is related. If I try to compile xindy in Cygwin I get the error:
C:\Program Files (x86)\MiKTeX 2.9\scripts\xindy\texindy.pl: not a symlink as required for
TeX Live at C:\Program Files (x86)\MiKTeX 2.9\scripts\xindy\texindy.pl line 423.
How to solve this?
xindy? – daleif Jun 26 '15 at 13:06xindy -M texindyproduces also an empty raw index file in WIndows command line (cmd) and the following error in Cygwin:/cygdrive/c/Users/Robert/Documents/tmp/xindy/minimal/C:/Program Files (x86)/MiKTeX 2.9/scripts/xindy/../../xindy/modules: No such file or directory at C:\Program Files (x86)\MiKTeX 2.9\scripts\xindy\xindy.pl line 402– Robert Nyqvist Jun 26 '15 at 14:45texindy ...andxindy -M texindy ...work in the case of Robert after a sync. – Akira Kakuto Jun 26 '15 at 23:35