在 Fedora 28 中使用 LuaLaTeX shell-escape 进行编译时出现 Shell 命令错误

在 Fedora 28 中使用 LuaLaTeX shell-escape 进行编译时出现 Shell 命令错误

当用编译这个最小的 TeX 文件时,lualatex --shell-escape test.tex我收到一个初始 shell 错误(输出到stderr),sh: all: command not found(检查第 7 行)。

--shell-escape不使用或使用时均不会发生该错误pdflatex --shell-escape

这是否表明 LuaLaTeX 存在问题?有解决方法吗?

我正在使用 Fedora 28 中的 TeXLive 2017。

$ lualatex -shell-escape test.tex
This is LuaTeX, Version 1.0.4 (TeX Live 2017) 
 system commands enabled.
(./test.tex
LaTeX2e <2017-04-15>
(using write cache: /home/user/.texlive2017/texmf-var/luatex-cache/generic)(
using read cache: /usr/share/texlive/texmf-var/luatex-cache/generic /home/user
/.texlive2017/texmf-var/luatex-cache/generic)sh: all: command not found

luaotfload | main : initialization completed in 0.117 seconds
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo(load luc: /home/user
/.texlive2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc))
) (./test.aux) [1{/usr/share/texlive/texmf-dist/fonts/map/pdftex/updmap/pdftex.
map}] (./test.aux))
 353 words of node memory still in use:
   2 hlist, 1 vlist, 1 rule, 2 glue, 3 attribute, 45 glue_spec, 3 attribute_lis
t, 1 write nodes
   avail lists: 1:1,2:15,3:2,4:1,5:21,6:5,7:12,8:1,9:6
</usr/share/texlive/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf>
Output written on test.pdf (1 page, 2522 bytes).
Transcript written on test.log.

测试.tex:

\documentclass{article}
\title{title}
\author{auth}
\begin{document}
aaa
\end{document}

相关内容