我是用cmd编译2020美国大学生数学竞赛模板中的文件时输入xetex mcmthesis.dtx 然后显示了如下内容 This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/W32TeX) (preloaded format=xetex) restricted \write18 enabled. kpathsea: Running mktexfmt xetex.fmt The command name is D:\shuxuejianmo\LaTex\TexLive\texlive\2019\bin\win32\mktexfmt Running the command D:\shuxuejianmo\LaTex\TexLive\texlive\2019\bin\win32\fmtutil-user.exe Use of uninitialized value $ver in scalar chomp at D:/shuxuejianmo/LaTex/TexLive/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at D:/shuxuejianmo/LaTex/TexLive/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at D:/shuxuejianmo/LaTex/TexLive/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: d:/shuxuejianmo/latex/texlive/texlive/2019/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: c:/users/jia'hao/.texlive2019/texmf-config/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under c:/users/jia'hao/.texlive2019/texmf-var/web2c fmtutil [INFO]: --- remaking xetex with xetex Can't spawn "cmd.exe": No such file or directory at d:\shuxuejianmo\LaTex\TexLive\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl line 598. fmtutil [WARNING]: inifile xetex.ini for xetex/xetex not found. fmtutil [INFO]: Disabled formats: 6 fmtutil [INFO]: Not selected formats: 44 fmtutil [INFO]: Failed to build: 1 (xetex/xetex) fmtutil [INFO]: Total formats: 51 fmtutil [INFO]: exiting with status 1 ...ianmo\LaTex\TexLive\texlive\2019\bin\win32\runscript.tlu:902: command failed with exit code 1: perl.exe d:\shuxuejianmo\LaTex\TexLive\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl --user --byfmt xetex I can't find the format file `xetex.fmt'!

2 回答2

0
使用XeLaTeX编译,而不是xetex!
0
要不然你在命令行执行 ```tex tlmgr install --reinstall xetex ``` 试试?

你的回答

请登录后回答

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