Closed zdgithub closed 3 years ago
Windows 10 + Miktex出现同样的错误提示。
我通过运行Compile.bat
可以成功生成main.pdf
,但是如果我用TexStudio
打开main.tex
并运行,则有如下日志:
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex 2020.8.9) 24 DEC 2020 11:45
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**main.tex
(./main.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
! LaTeX Error: File `sjtuthesis.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.11 ^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
21 strings out of 479418
368 string characters out of 5888106
245334 words of memory out of 5000000
17639 multiletter control sequences out of 15000+600000
532338 words of font info for 24 fonts, out of 8000000 for 9000
1348 hyphenation exceptions out of 8191
14i,0n,17p,85b,10s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
使用编辑器内置功能的请自行设置使用 Latexmk 编译。
使用编辑器内置功能的请自行设置使用 Latexmk 编译。
你好,请问TexStudio里面怎么配置latexmk
编译,我把默认编译器选为了latexmk
,还是编译不成功
再把构建命令改成latexmk -xelatex -silent -synctex=1 %
后就成功啦,Thx!
再把构建命令改成
latexmk -xelatex -silent -synctex=1 %
后就成功啦,Thx!
Thanks, it really works on macOS
问题描述: 我已经下载了
1.0.0.rc7
版本的压缩包,解压后先执行了Compile.bat
,再运行main.tex, 编译依然说sjtuthesis.cls
找不到系统信息:
日志信息: File
sjtuthesis.cls
not found.