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

Siep Kroonenberg siepo at cybercomm.nl
Fri Aug 24 10:33:16 CEST 2012


On Fri, Aug 24, 2012 at 09:28:21AM +0200, Ulrike Fischer wrote:
> 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:
> C:\DOKUME~1\User\LOKALE~1\Temp\q4tPCCzymR

I am a bit puzzled. This looks like the short name of a _localized_
path. On my one localized Windows 7, I only see localized names in
Windows explorer. In a command prompt I see the real names:

APPDATA-C:\Users\siepo\AppData\Roaming
TEMP=C:\Users\siepo\AppData\Local\Temp
TMP=C:\Users\siepo\AppData\Local\Temp
USERPROFILE=C:\Users\siepo

In the environment variables dialog:

TEMP=%USERPROFILE%\AppData\Local\Temp
TMP=%USERPROFILE%\AppData\Local\Temp

whereas according to Windows Explorer the temp directory is
displayed as

C:\Gebruikers\siepo\AppData\Local\Temp

Is this just a matter of more aggressive localization for German
compared to Dutch?

-- 
Siep Kroonenberg


More information about the tex-live mailing list