安装了Tex live,命令提示符编译文件时出错,怎么办?C:\testLatex>latex test.texThis is pdfTeX, Version 3.14159265-2.6-1....
安装了Tex live,命令提示符编译文件时出错,怎么办? C:\testLatex>latex test.tex This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=latex) restricted \write18 enabled.
kpathsea: Running mktexfmt latex.fmt
The command name is C:\texlive\2019\bin\win32\mktexfmt Running the command C:\texlive\2019\bin\win32\fmtutil-user.exe Use of uninitialized value $ver in scalar chomp at C:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 204. Use of uninitialized value $ver in substitution (s///) at C:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. Use of uninitialized value $ver in substitution (s///) at C:/texlive/2019/tlpkg/TeXLive/TLWinGoo.pm line 205. fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: c:/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 latex with pdftex Can’t spawn “cmd.exe”: No such file or directory at c:\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl line 598. fmtutil [WARNING]: inifile latex.ini for latex/pdftex not found. fmtutil [INFO]: Disabled formats: 6 fmtutil [INFO]: Not selected formats: 44 fmtutil [INFO]: Failed to build: 1 (pdftex/latex) fmtutil [INFO]: Total formats: 51 fmtutil [INFO]: exiting with status 1 C:\texlive\2019\bin\win32\runscript.tlu:911: command failed with exit code 1: perl.exe c:\texlive\2019\texmf-dist\scripts\texlive\fmtutil.pl —user —byfmt latex I can’t find the format file `latex.fmt’!
作者追问:2019-12-11 09:33
回答: 2019-12-11 09:33
一周热门 更多>