![在 Fedora 28 中使用 LuaLaTeX shell-escape 进行编译时出现 Shell 命令错误](https://linux22.com/image/382422/%E5%9C%A8%20Fedora%2028%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20LuaLaTeX%20shell-escape%20%E8%BF%9B%E8%A1%8C%E7%BC%96%E8%AF%91%E6%97%B6%E5%87%BA%E7%8E%B0%20Shell%20%E5%91%BD%E4%BB%A4%E9%94%99%E8%AF%AF%20.png)
当用编译这个最小的 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}