“进程因错误而退出”但没有报告任何错误

“进程因错误而退出”但没有报告任何错误

我正在使用 Miktex 2.9 和 TexStudio。我无法编译任何东西,包括这个简单的文档:

\documentclass{article}

\begin{document}
    Test
\end{document}

报告的唯一错误是“进程因错误而退出”。日志文件包含以下内容:

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2017.8.10)  28 MAR 2018 16:19
entering extended mode
**./texstudio_YJ9064.tex
(texstudio_YJ9064.tex
LaTeX2e <2017/01/01> patch level 1
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(texstudio_YJ9064.aux)
\openout1 = `texstudio_YJ9064.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
 [1

{C:/Users/USER/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map
!pdfTeX error: pdflatex.exe (file C:/Users/David Scott/AppData/Local/MiKTeX/2.9
/pdftex/config/pdftex.map): buffer overflow at file C:\Jenkins\jobs\miktex-2.9\
workspace\source\Programs\TeXAndFriends\pdftex\source\mapfile.c, line 418
 ==> Fatal error occurred, no output PDF file produced!

据我所知,在 LaTeX 工作和停止之间,我没有对我的安装进行任何更改。

答案1

{C:/Users/USER/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map
!pdfTeX error: pdflatex.exe (file C:/Users/David Scott/AppData/Local/MiKTeX/2.9
/pdftex/config/pdftex.map): buffer overflow at file C:\Jenkins\jobs\miktex-2.9\
workspace\source\Programs\TeXAndFriends\pdftex\source\mapfile.c, line 418
 ==> Fatal error occurred, no output PDF file produced!

这听起来好像pdftex.map已损坏。您应该重新创建它并检查这是否能解决问题。

由于你的地图在你的用户配置文件中,因此可以通过在命令行上调用

updmap

或者通过在 miktex 控制台(以用户身份启动)中使用该任务recreate font map files

相关内容