[tex-live] xindy doesn't work on windows

Ulrike Fischer news3 at nililand.de
Fri Aug 24 09:28:21 CEST 2012

Am Fri, 24 Aug 2012 03:44:03 +0200 schrieb Joachim Schrod:

> I think that's worthwile in any case.
> What I don't understand is Ulrike's comment:
>> But this doesn't help with the problem that xindy fails with the
>> default setting of TEMP in the windows system control: I didn't add
>> any explicit quotes there. The variable is set as
>> "%USERPROFILE%\Lokale Einstellungen\Temp" (without the quotes) in
>> system control and imho that is the default set by the windows
>> installation.
> On the one hand, she tells that the var is set without the quotes. On
> the other hand, she tells that xindy still fails in that situation.
> But that would mean that quotes in env var values are not the culprit
> of the error that Ulrike observed. What I would like to know is: With
> the default setting of TEMP -- as described by Ulrike -- does xindy
> fail? If yes, is the env var value with or without quotes?

Sorry that I have been a bit unclear. So first some facts:

1. TEMP is set without quotes in system control.
2. echo %TEMP% gives the short path name (C:\DOKUME~1\....), again
without quotes.

I think that the problems with the quotes crept in during the tests
(as I set the variables with tab expansion and so windows added them
automatically around pathes with spaces) and led everyone on the
wrong track but that this is not the source of the original problem. 

3. xindy fails with this default TEMP setting, but not because it
can't find the folder at all. I played a bit around with the --debug
options and could see that xindy can write to and read from the
folder (I could find the temporary files). But somewhere in between
it fails to resolve the folder name (when xindy-lisp.exe is called). 

Here the output (a bit prettified): 

I:\Z-Test>xindy -d script -M texindy -L german-duden orte.idx
concatenated xindy input file:

Running filter:

filtered xindy input file:

Found language module

xindy startup file: C:\DOKUME~1\User\LOKALE~1\Temp\6dXVVMu4Aw
modules directory: j:/texlive/2012/texmf/xindy/modules.

-M j:/texlive/2012/texmf/scripts/xindy/../../../bin/win32/xindy.mem
-E iso-8859-1 C:\DOKUME~1\User\LOKALE~1\Temp\6dXVVMu4Aw

*** - TRUENAME: Directory #P"C:\\DOKUME~1\\User\\LOKALE~1\\Temp\\"
does not exist

My current hypothese is that a part of xindy can't resolve the short
path name correctly.

Ulrike Fischer 

More information about the tex-live mailing list