[tex-live] xindy doesn't work on windows
Akira Kakuto
kakuto at fuk.kindai.ac.jp
Wed Aug 22 01:37:43 CEST 2012
Dear Ulrike,
> TEMP=J:\temp works fine, while TEMP="J:\temp temp" fails with the
> same error. (Actually with *exactly* the same error: The error
> message again refers to "C:\\DOKUME~1\\User\\LOKALE~1\\Temp\\").
>
> So it is (not unsurprisingly) the space. But why I'm the only one
> affected with the problem? I can't be the only windows user with a
> TEMP pointing to %Userprofile ;-(.
Sorry, the problem will be solved in the next update.
If you are in a hurry, please apply the following patch:
--- texmf/scripts/xindy/xindy.pl Mon Jun 21 18:36:48 2010
+++ xindy.pl Wed Aug 22 08:23:01 2012
@@ -661,6 +661,8 @@
sub filter_index ( $$ ) {
my ($filter, $input) = @_;
my $output = tmpnam();
+ $output=quotify($output);
+ $input=quotify($input);
push (@temp_files, $output);
print "Running filter: $filter <$input >$output\n" if $verbose;
system "$filter <$input >$output";
@@ -745,7 +747,6 @@
$style_file = quotify($style_file);
$outfile = quotify($outfile);
- $raw_index = quotify($raw_index);
$logging = ':logfile ' . quotify($logfile) if $logfile;
$tracing = ':markup-trace :on' if $debug{markup};
$trace_level = ":trace-level $debug{trace_level}" if $debug{trace_level};
Thanks,
Akira
More information about the tex-live
mailing list