linuxmint 中的 latexdiff 正则表达式中未转义的左括号已被弃用,在正则表达式中传递;

linuxmint 中的 latexdiff 正则表达式中未转义的左括号已被弃用,在正则表达式中传递;

我使用的是 linuxmint 操作系统,是一个相对较新的 Linux 用户,我发现很多人在使用 latexdiff 时都遇到了这个问题,但我不知道如何解决这个问题,并且花了很多时间。在阅读了几篇文章后,我以为这个问题已经在新版 latexdiff 中得到了解决,但我不知道如何安装它,也找不到适合我系统的明确说明。我试过 sudo apt-get install latexdiff,但它说 latexdiff 已经是最新版本 (1.1.1-1)。

    $ latexdiff --v
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\includeonly{ <-- HERE (.*?)}/ at /usr/bin/latexdiff line 1572.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/(^(?:[^%\n]|\\%)*)\\bibliography{ <-- HERE (.*?)}/ at /usr/bin/latexdiff line 1607.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/(^(?:[^%\n]|\\%)*)\\subfile{ <-- HERE (.*?)}/ at /usr/bin/latexdiff line 1622.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/(?<!\\)\\{ <-- HERE / at /usr/bin/latexdiff line 2351.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\begin{ <-- HERE MATHMODE}((?:(.(?!(?<!\\)\&|\\\\))*)?)\\end{MATHMODE}/ at   /usr/bin/latexdiff line 2676.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\begin{MATHMODE}((?:(.(?!(?<!\\)\&|\\\\))*)?)\\end{ <-- HERE MATHMODE}/ at   /usr/bin/latexdiff line 2676.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\begin{ <-- HERE MATHMODE}(.*?)\\end{MATHMODE}/ at /usr/bin/latexdiff line 2678.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\begin{MATHMODE}(.*?)\\end{ <-- HERE MATHMODE}/ at /usr/bin/latexdiff line 2678.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\end{ <-- HERE SQUAREBRACKET}/ at /usr/bin/latexdiff line 2759.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in     m/\\begin{ <-- HERE SQUAREBRACKET}/ at /usr/bin/latexdiff line 2760.
Option v is ambiguous (verbose, version, visible-label)
2 and only 2 non-option arguments required.  Write latexdiff -h to get help

相关内容