I have encountered a problem by using xindy within glossaries. After the first call of pdflatex, I gave makeglossaries mytex in command line. Unfortunately, I got the error
"LOAD: A file with name C:\Users\xyzxyz~1\AppData\Local\Temp\vEslm0pNhL does not exist".
With some work I found out that the file C:\Users\xyzxyz~1\AppData\Local\Temp\vEslm0pNhL has been correctly generated by xindy.pl. However, it cannot be loaded by xindy_lisp.exe, which expected full path name instead of shorted one (DOS style), i.e. C:\Users\xyzxyzabcabc\AppData\Local\Temp\vEslm0pNhL. Does anyone have the same issue? How can I get over it?
I use the texlive2011 distribution on Win 7. My tex file is (the example from glossaries):
% This file is public domain
\documentclass[a4paper]{article}
\usepackage[style=long4colheaderborder,xindy]{glossaries}
\makeglossaries
\newglossaryentry{w}{name={$w$},
sort=w,
description={width},
symbol=m}
\newglossaryentry{M}{name={$M$},
sort=M,
description={mass},
symbol=kg}
\begin{document}
\printglossaries
The width, \gls{w}, is measured in meters. The mass, \gls{M} is measured in kilograms.
\end{document}

