[tex-live] xindy with "-I xindy" broke with the latest update on linux

Michael Brade brade at kde.org
Sat Aug 25 23:41:17 CEST 2012


Hi,

took me a while to figure this one out: makeglossaries broke lately, the reason 
being that "xindy -I xindy ..." fails with something like

command: /usr/local/texlive/bin/x86_64-linux/xindy.run -M 
/usr/local/texlive/bin/x86_64-linux/xindy.mem -E iso-8859-1 -x (progn
  (searchpath 
".:/usr/local/texlive/texmf/xindy/modules:/usr/local/texlive/texmf/xindy/modules/base")
  (xindy:startup
    :idxstyle "/tmp/SO6I_sq8ua"
    :rawindex /tmp/6qdn8OM9Y7
    :output "test.ind"
    :logfile "test.ilg"
    
    :trace-level 3)
  (exit))

*** - PROGN: variable /TMP/6QDN8OM9Y7 has no value

I.e., the /tmp-path is uppercased. Turned out that the missing quotes around 
the filename were the reason, this patch did it for me:


--- /usr/local/texlive/texmf/scripts/xindy/xindy.pl.orig        2012-08-25 
23:25:27.258479003 +0200
+++ /usr/local/texlive/texmf/scripts/xindy/xindy.pl     2012-08-25 
23:25:06.095479000 +0200
@@ -505,6 +505,8 @@
        $filter_cmd = "$cmd_dir/tex2xindy";
     } elsif ( $input_markup eq 'omega' ) {
        $filter_cmd = "$cmd_dir/tex2xindy -o";
+    } else {
+       $raw_index = quotify($raw_index);
     }
     $raw_index = filter_index ($filter_cmd, $raw_index)
       if $filter_cmd;

Used to work all the time, so something must have broken it.

cheers,
  Michael

PS: I am not subscribed to this list, so please CC me on replies.


More information about the tex-live mailing list