Docker XeLaTeX 没有错误消息

Docker XeLaTeX 没有错误消息

当我使用 arara 在本地编译我的 LaTeX 文档时,它可以正常工作!但当我将其放入 Docker (Fedora) 时,我只得到这个紧急停止:

This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (preloaded format=xelatex 2020.10.21)  22 OCT 2020 00:31
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**thesis.tex

! Emergency stop.
<*> thesis.tex

End of file on the terminal!


Here is how much of TeX's memory you used:
 2 strings out of 494894
 16 string characters out of 6177061
 56151 words of memory out of 5000000
 4029 multiletter control sequences out of 15000+600000
 3640 words of font info for 14 fonts, out of 8000000 for 9000
 14 hyphenation exceptions out of 8191
 0i,0n,0p,1b,6s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
~                                                                                                                                                                                                
~        

texput.log:

  __ _ _ __ __ _ _ __ __ _ 
 / _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
 \__,_|_|  \__,_|_|  \__,_|

Processing 'thesis.tex' (size: 9 KB, last modified: 10/21/2020
21:07:49), please wait.

(Clean) Cleaning feature ................................ SUCCESS
(Clean) Cleaning feature ................................ SUCCESS
(Clean) Cleaning feature ................................ SUCCESS
(Clean) Cleaning feature ................................ SUCCESS
(Clean) Cleaning feature ................................ SUCCESS
(XeLaTeX) XeLaTeX engine ................................ FAILURE

Total: 0.78 seconds

我尝试安装完整的 TexLive,以确保我已安装所有软件包,但没有成功。它看起来像批处理模式(没有错误消息),所以我尝试:% arara: xelatex: { interaction: errorstopmode }

% !TEX TS-program = arara
% arara: clean: {files: [thesis.pdfsync, thesis.bbl, thesis.aux, thesis.toc, thesis.pdf]}
% arara: xelatex: { interaction: errorstopmode }
% arara: nomencl
% arara: biber
% arara: biber
% arara: biber
% arara: xelatex: { interaction: errorstopmode }
% arara: xelatex: { interaction: errorstopmode }
% arara: clean: {files: [thesis.pdfsync, thesis.out, thesis.toc, thesis.lot, thesis.lof, thesis.bbl, thesis.nls, thesis.nlo, thesis.aux, thesis.idx, thesis.ilg, thesis.ind, thesis.bbl, thesis.bcf, thesis.ist, thesis.blg, thesis.run.xml, thesis.fdb_latexmk, thesis.fls]}

答案1

这里最有可能发生了两件事:首先,找不到论文文件。然后 xelatex 以批处理模式运行,因此尝试从终端读取失败。

提示这一点的是日志文件被命名texput.log,而不是thesis.log

答案2

感谢 TeXnician,arara -lv我能够生成日志和错误消息并解决潜在的问题,最后在子文件夹中缺少几个包和文件。

相关内容