我从赛氪上下载的APMCM模板。我是用的是CTEX 2.9.2.164 FULL,自己安装了newtx的宏包。但是编译模板里面的main.tex时仍有报错。编译的信息如下,请教我怎么才能使模板通过编译,感谢各位!
Command Line: texify.exe —pdf —tex-option=—interaction=errorstopmode —tex-option=—synctex=1 “E:\往期各项作业及资料\2020秋季\运筹学\亚太赛\APMCMThesis-master\main.tex”
Startup Folder: E:\往期各项作业及资料\2020秋季\运筹学\亚太赛\APMCMThesis-master
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(E:/往期各项作业及资料/2020秋季/运筹学/亚太赛/APMCMThesis-mast
er/main.tex
LaTeX2e <2011>
Babel
(E:\往期各项作业及资料\2020秋季\运筹学\亚太赛\APMCMThesis-mast
er\apmcmthesis.cls
Document Class: apmcmthesis 2019/11/11 v1.0 LaTeX Template for APMCM
(E:\Software\CTEX\MiKTeX\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(E:\Software\CTEX\MiKTeX\tex\latex\base\size12.clo))
(E:\Software\CTEX\MiKTeX\tex\generic\ifxetex\ifxetex.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\geometry\geometry.sty
(E:\Software\CTEX\MiKTeX\tex\latex\graphics\keyval.sty)
(E:\Software\CTEX\MiKTeX\tex\generic\oberdiek\ifpdf.sty)
(E:\Software\CTEX\MiKTeX\tex\generic\oberdiek\ifvtex.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\geometry\geometry.cfg))
(E:\Software\CTEX\MiKTeX\tex\latex\ams\math\amsmath.sty
For additional information on amsmath, use the `?’ option.
(E:\Software\CTEX\MiKTeX\tex\latex\ams\math\amstext.sty
(E:\Software\CTEX\MiKTeX\tex\latex\ams\math\amsgen.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\ams\math\amsbsy.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\ams\math\amsopn.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\amsfonts\amsfonts.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\amsfonts\amssymb.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\tools\bm.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\titlesec\titlesec.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\titlesec\titletoc.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\xcolor\xcolor.sty
(E:\Software\CTEX\MiKTeX\tex\latex\00miktex\color.cfg)
(E:\Software\CTEX\MiKTeX\tex\latex\pdftex-def\pdftex.def
(E:\Software\CTEX\MiKTeX\tex\generic\oberdiek\infwarerr.sty)
(E:\Software\CTEX\MiKTeX\tex\generic\oberdiek\ltxcmds.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\graphics\dvipsnam.def)
(E:\Software\CTEX\MiKTeX\tex\latex\xcolor\svgnam.def)
(E:\Software\CTEX\MiKTeX\tex\latex\xcolor\x11nam.def))
(E:\Software\CTEX\MiKTeX\tex\latex\graphics\graphicx.sty
(E:\Software\CTEX\MiKTeX\tex\latex\graphics\graphics.sty
(E:\Software\CTEX\MiKTeX\tex\latex\graphics\trig.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\00miktex\graphics.cfg)))
(E:\Software\CTEX\MiKTeX\tex\latex\tools\array.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\lastpage\lastpage.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\tools\longtable.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\tools\tabularx.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\booktabs\booktabs.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\multirow\multirow.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\multirow\bigstrut.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\cprotect\cprotect.sty
(E:\Software\CTEX\MiKTeX\tex\latex\base\ifthen.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\bigfoot\suffix.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\listings\listings.sty
(E:\Software\CTEX\MiKTeX\tex\latex\listings\lstmisc.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\listings\listings.cfg))
(E:\Software\CTEX\MiKTeX\tex\latex\cjk\cjk.sty
LaTeX Warning: You have requested package cjk',
but the package provides
CJK’.
(E:\Software\CTEX\MiKTeX\tex\latex\cjk\mule\MULEenc.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\cjk\CJK.enc))
(E:\Software\CTEX\MiKTeX\tex\latex\newtx\tex\newtxtext.stynewtxtext' v1.531, 2018/03/27 Text macros taking advantage of TeX-Gyre Termes
fonts (msharpe) (E:\Software\CTEX\MiKTeX\tex\latex\fontaxes\fontaxes.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\xkeyval\xkeyval.sty
(E:\Software\CTEX\MiKTeX\tex\generic\xkeyval\xkeyval.tex))
(E:\Software\CTEX\MiKTeX\tex\latex\etoolbox\etoolbox.sty
(E:\Software\CTEX\MiKTeX\tex\latex\misc\etex.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\base\fontenc.sty
(E:\Software\CTEX\MiKTeX\tex\latex\base\t1enc.def))
(E:\Software\CTEX\MiKTeX\tex\latex\base\textcomp.sty
(E:\Software\CTEX\MiKTeX\tex\latex\base\ts1enc.def)))
(E:\Software\CTEX\MiKTeX\tex\latex\newtx\tex\newtxmath.sty
newtxmath’ v1.611, 2019/11/21 Math macros based originally on txfonts (msharpe
) (E:\Software\CTEX\MiKTeX\tex\generic\oberdiek\ifluatex.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\oberdiek\centernot.sty)
(E:\Software\CTEX\MiKTeX\tex\generic\binhex\binhex.tex))
(E:\Software\CTEX\MiKTeX\tex\latex\caption\caption.sty
(E:\Software\CTEX\MiKTeX\tex\latex\caption\caption3.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\caption\ltcaption.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\enumitem\enumitem.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\ulem\ulem.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\tools\calc.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\appendix\appendix.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\fancyhdr\fancyhdr.sty))
(E:\Software\CTEX\MiKTeX\tex\latex\ltxmisc\url.sty)
(E:\Software\CTEX\MiKTeX\tex\latex\newtx\tex\t1ntxtlf.fd)Running miktex-makemf.exe…
miktex-makemf: The ntx-Regular-tlf-t source file could not be found.
Running hbf2gf.exe…
hbf2gf (CJK ver. 4.8.0)
Couldn’t find `ntx-Regular-tlf-.cfg’
miktex-maketfm: No creation rule for font ntx-Regular-tlf-t1.
! Font T1/ntxtlf/m/n/12=ntx-Regular-tlf-t1 at 12.0pt not loadable: Metric (TFM)
file not found.
?
relax
l.18 \begin{document}