编辑好org文档后,使用Emacs导出为PDF时,在*Org PDF LaTeX Output* 中显示如下错误:
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(.//shuoming.tex
LaTeX2e <2020-10-01> patch level 2
L3 programming layer <2020-12-07> xparse <2020-03-03>
! LaTeX Error: File `ctexart.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.4 \usepackage
{xeCJK}^^M
No pages of output.
Transcript written on .//shuoming.log.
在Emacs eshell中执行xelatex shuoming.tex时同样报错:
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
! I can't find file `shuoming.tex'.
<*> shuoming.tex
(Press Enter to retry, or Control-Z to exit)
Please type another input file name: