macOS Ventura 13.1编译不通过 #888
-
按照readme操作,发现编译不通过。请问是不是我少装了什么呀? $ git clone https://mirror.sjtu.edu.cn/git/SJTUThesis.git/
Cloning into 'SJTUThesis'...
remote: Counting objects: 3426, done.
remote: Compressing objects: 100% (1363/1363), done.
remote: Total 3426 (delta 2028), reused 3169 (delta 1857)
Receiving objects: 100% (3426/3426), 2.70 MiB | 8.41 MiB/s, done.
Resolving deltas: 100% (2028/2028), done.
$ cd SJTUThesis
$ ls
Compile.bat Makefile README_en-US.md contents main.tex setup.tex
LICENSE README.md bibdata figures scans texmf
$ make all
Latexmk: This is Latexmk, John Collins, 26 Dec. 2019, version: 4.67.
Latexmk: applying rule 'xelatex'...
Rule 'xelatex': The following rules & subrules became out-of-date:
'xelatex'
------------
Run number 1 of rule 'xelatex'
------------
------------
Running 'xelatex -synctex=1 -no-pdf -file-line-error -halt-on-error -interaction=nonstopmode -recorder "main.tex"'
------------
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06> (./texmf/tex/latex/sjtutex/sjtuthesis.cls
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def
))
Document Class: sjtuthesis 2022/12/27 v2.0-alpha Thesis template for Shanghai J
iao Tong University
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st
y)
./texmf/tex/latex/sjtutex/sjtuthesis.cls:42: Package sjtutex Error: Package "##
1" is too old.
(sjtutex)
(sjtutex) Please update an up-to-date version of the bundles
(sjtutex) "l3kernel" and "l3packages" using your TeX package
(sjtutex) manager or from CTAN.
Type <return> to continue.
...
l.42 ...rror:nnn { sjtutex } { l3-too-old } {#1} }
No pages of output.
Transcript written on main.log.
=== TeX engine is 'XeTeX'
Latexmk: Log file says no output from latex
Latexmk: For rule 'xelatex', no output was made
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
xelatex: Command for 'xelatex' gave return code 1
Refer to 'main.log' for details
'xelatex -synctex=1 -no-pdf -file-line-error -halt-on-error -interaction=nonstopmode -recorder "main.tex"': time = 0.33
Accumulated processing time = 0.35
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
make: *** [main.pdf] Error 12 |
Beta Was this translation helpful? Give feedback.
Answered by
LogCreative
Feb 5, 2023
Replies: 1 comment
-
使用 SJTUThesis v2 时推荐使用最新版的 MacTeX。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MA-Wenbo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 SJTUThesis v2 时推荐使用最新版的 MacTeX。