This is BibTeX, Version 0.99d (TeX Live 2019/W32TeX) The top-level auxiliary file: main.aux I found no \citation commands---while reading file main.aux I found no \bibdata command---while reading file main.aux I found no \bibstyle command---while reading file main.aux (There were 3 error messages) Command Line: pdflatex.exe --interaction=errorstopmode --synctex=-1 "main.tex" Startup Folder: D:\建模\APMCMThesis(1) This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) restricted \write18 enabled. Use of uninitialized value $ver in scalar chomp at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: d:/texlive/2019/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: c:/users/朱龙涛/.texlive2019/texmf-config/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under c:/users/朱龙涛/.texlive2019/texmf-var/web2c fmtutil [INFO]: --- remaking pdflatex with pdftex Can't spawn "cmd.exe": No such file or directory at d:\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl line 598. fmtutil [WARNING]: inifile pdflatex.ini for pdflatex/pdftex not found. fmtutil [INFO]: Disabled formats: 6 fmtutil [INFO]: Not selected formats: 44 fmtutil [INFO]: Failed to build: 1 (pdftex/pdflatex) fmtutil [INFO]: Total formats: 51 fmtutil [INFO]: exiting with status 1 D:\texlive\2019\bin\win32\runscript.tlu:902: command failed with exit code 1: perl.exe d:\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl --user --byfmt pdflatex Running the command D:\texlive\2019\bin\win32\fmtutil-user.exe I can't find the format file `pdflatex.fmt'! kpathsea: Running mktexfmt pdflatex.fmt The command name is D:\texlive\2019\bin\win32\mktexfmt _____________________________________________________________________ PDFTeXify Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 _____________________________________________________________________

4 回答4

0
路径用不带空格的英文试试。 只提供报错信息,有时候并不能解决问题。
0
似乎系统没有安装成功. 管理员命令行执行下看看. ```tex fmtutil-sys --all ``` 或者重装一下, 注意不要系统里有多个 TeX 套装.
0
遇到同样的问题,一开始是显示没有newtx那个宏包,安装宏包后报错和你一样,求问你解决了没有
  • 回复 undefined :你用的是CTEX套装吧.. – sikouhjw 2019-11-28 22:23 回复
  • 回复 undefined :你好,那请问MiKTex可以用吗 – :) 2019-11-28 13:13 回复
  • 你的版本太老了,用新版本的 texlive 没有问题的. – latexstudio 2019-11-28 12:39 回复
0
问题特征 ``` Use of uninitialized value $ver in scalar chomp at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at D:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. ``` 怀疑是「PATH 被 CTEX 套装覆盖的问题」,参考文章《[[LaTeX 发行版] TeX Live 无法使用,uninitialized value $ver](https://zhuanlan.zhihu.com/p/60244068)》。

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。