makeglossaries 命令总是产生相同的错误

makeglossaries 命令总是产生相同的错误

当我尝试创建词汇表时,终端命令 makeglossaries 总是产生以下错误:

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\\@input{ <-- HERE (.+)\.aux}/ at /Library/TeX/texbin/makeglossaries line 634.

我从来没有碰过这个文件,第 634 行是以下if情况:

    # v1.9 added
        if (m/\\\@input{(.+)\.aux}/)
        {    
           &scan_aux($1);

           # v2.04 added
           # (Fix provided by Daniel Grund) 
           next;
        } 

我在 OSX 上使用以下 Latex 版本:

pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04

除了重新安装 Latex 之外,我还能做些什么来解决这个问题?

先感谢您。

答案1

这是 perl 中的一个变化,它已被弃用,但在最新的 perl 中它是一个错误,只需更改\@input{(.+)\.aux}/\@input\{(.+)\.aux\}/并报告给 makeglossaries 作者

相关内容