kpathsea: Running mktexfmt pdflatex.fmt The command name is D:\Program Files (x86)\TEX LIVE\texlive.20\2019\bin\win32\mktexfmt Running the command D:\Program Files (x86)\TEX LIVE\texlive.20\2019\bin\win32\fmtutil-user.exe Use of uninitialized value $ver in scalar chomp at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: d:/program files (x86)/tex live/texlive.20/2019/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: c:/users/henry/.texlive2019/texmf-config/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under c:/users/henry/.texlive2019/texmf-var/web2c fmtutil [INFO]: --- remaking pdflatex with pdftex Can't spawn "cmd.exe": No such file or directory at d:\Program Files (x86)\TEX LIVE\texlive.20\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 ...s (x86)\TEX LIVE\texlive.20\2019\bin\win32\runscript.tlu:902: command failed with exit code 1: perl.exe "d:\Program Files (x86)\TEX LIVE\texlive.20\2019\texmf-dist\scripts\texlive\fmtutil.pl" --user --byfmt pdflatex I can't find the format file `pdflatex.fmt'! D:\Program Flies\LATEX>pdflatex test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) restricted \write18 enabled. kpathsea: Running mktexfmt pdflatex.fmt The command name is D:\Program Files (x86)\TEX LIVE\texlive.20\2019\bin\win32\mktexfmt Running the command D:\Program Files (x86)\TEX LIVE\texlive.20\2019\bin\win32\fmtutil-user.exe Use of uninitialized value $ver in scalar chomp at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at D:/Program Files (x86)/TEX LIVE/texlive.20/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: d:/program files (x86)/tex live/texlive.20/2019/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: c:/users/henry/.texlive2019/texmf-config/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under c:/users/henry/.texlive2019/texmf-var/web2c fmtutil [INFO]: --- remaking pdflatex with pdftex Can't spawn "cmd.exe": No such file or directory at d:\Program Files (x86)\TEX LIVE\texlive.20\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 ...s (x86)\TEX LIVE\texlive.20\2019\bin\win32\runscript.tlu:902: command failed with exit code 1: perl.exe "d:\Program Files (x86)\TEX LIVE\texlive.20\2019\texmf-dist\scripts\texlive\fmtutil.pl" --user --byfmt pdflatex I can't find the format file `pdflatex.fmt'!

2 回答2

0
只能猜测,你安装出了问题,而这个问题可能和路径带空格有关。
0
`D:\Program Flies\LATEX>pdflatex test.tex`中是有空格的,可能是这个原因。

你的回答

请登录后回答

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