Makeglossaries 和 Perl 警告:正则表达式中未转义的左括号已被弃用,在正则表达式中传递

Makeglossaries 和 Perl 警告:正则表达式中未转义的左括号已被弃用,在正则表达式中传递

我正在尝试运行 Makeglossaries。但是,我在日志文件中收到以下警告消息:

Processo iniciado: makeglossaries.exe "document-glossario"

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@input{ <-- HERE (.+)\.aux}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 634.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@newglossary\s*\{(.*)\}{ <-- HERE (.*)}{(.*)}{(.*)}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 643. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@newglossary\s*\{(.*)\}{(.*)}{ <-- HERE (.*)}{(.*)}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 643. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@newglossary\s*\{(.*)\}{(.*)}{(.*)}{ <-- HERE (.*)}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 643.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@xdylanguage\s*{([^}]+)}{ <-- HERE ([^}]*)}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 674. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\\@gls\@codepage\s*{([^}]+)}{ <-- HERE ([^}]*)}/ at C:\Users\user_001\AppData\Roaming\MiKTeX\2.9\scripts\glossaries\makeglossaries line 680.

Processo concluído normalmente

我进行了谷歌搜索,发现使用这个新的 perl 5.22 版本时,似乎脚本词汇表存在“错误”。但是,我不知道如何修复它。如果有人能帮忙,请帮忙。


ActivePearl 版本 5.22.1.2201

ActivePearl 版本 5.22.1.2201


TeXstudio 版本是 2.10.8


输出 PDF 文件看起来不错。

原始 LaTeX 测试代码:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{glossaries}

\makeglossaries

\newglossaryentry{latex}
{
    name=latex,
    description={Is a mark up language specially suited 
    for scientific documents}
}

\newglossaryentry{maths}
{
    name=mathematics,
    description={Mathematics is what mathematicians do}
}

\title{How to create a glossary}
\author{ }
\date{ }

\begin{document}
\maketitle

The \Gls{latex} typesetting markup language is specially suitable 
for documents that include \gls{maths}. 

\printglossaries

\end{document}

结果还好

输出文件正常

相关内容