makeglossaries 调用 xindy 失败

makeglossaries 调用 xindy 失败

我无法让 makeglossaries 在 MiKTeX 下与 xindy 一起运行。

就拿example.tex这里来说吧:

\documentclass[12pt]{book}   
\usepackage[xindy]{glossaries}

\newglossaryentry{egbert}{name={Egbert}, description={Egbert the Egg.}}     
\makeglossaries

\begin{document}

\gls{egbert} is my favourite!

\printglossaries

\end{document}

当在其上运行 makeglossaries 时,它会产生以下错误:

c:\example>makeglossaries -x "C:\localtexmf\scripts\xindy\xindy.pl" "example"
makeglossaries version 2.09 (2013-11-12)
added glossary type 'main' (glg,gls,glo)
C:\localtexmf\scripts\xindy\xindy.pl  -L english  -I xindy -M "example" -t "example.glg" -o "example.gls" "example.glo"
Opening logfile "example.glg" (done)
Reading indexstyle...
Loading module "KrcJssJlGD"...
Loading module "lang/english/latin9-lang.xdy"...
Loading module "lang/english/latin9.xdy"...
Finished loading module "lang/english/latin9.xdy".
Finished loading module "lang/english/latin9-lang.xdy".
Loading module "example.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "example.xdy".
Finished loading module "KrcJssJlGD".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "\"yPYZwvNIIm\""...ERROR: PARSE-NAMESTRING: syntax error in filename "\"yPYZwvNIIm\"" at position 0


***Call to xindy failed***

Check 'example.glg' for details

编辑(2014-01-13 8:41 EST):

xindy版本信息:

C:\example>xindy.pl --version
xindy release: 2.4
xindy.pl script version: 1.16
xindy kernel version: 3.0
CLISP version 2.49 (2010-07-07) (built on cj3001517-a [192.168.1.20])
architecture: PC/686

xindy 自身调用的输出也是一样:(除了 raw-index 的名字)

C:\example>C:\localtexmf\scripts\xindy\xindy.pl  -L english  -I xindy -M "example" -t "example.glg" -o "example.gls" "example.glo"
Opening logfile "example.glg" (done)
Reading indexstyle...
Loading module "uG0b_gG5K2"...
Loading module "lang/english/latin9-lang.xdy"...
Loading module "lang/english/latin9.xdy"...
Finished loading module "lang/english/latin9.xdy".
Finished loading module "lang/english/latin9-lang.xdy".
Loading module "example.xdy"...
Loading module "tex.xdy"...
Finished loading module "tex.xdy".
Finished loading module "example.xdy".
Finished loading module "uG0b_gG5K2".
Finished reading indexstyle.
Finalizing indexstyle... (done)

Reading raw-index "\"RkydxkLNfW\""...
ERROR: PARSE-NAMESTRING: syntax error in filename "\"RkydxkLNfW\"" at position 0

答案1

我改变了我的教程如何将 Xindy 与 MiKTeX 一起使用?xindy以反映和可执行文件的变化texindy。新方法确实适用于问题中的最小示例。

相关内容