无法在 Texnic Center 上构建 .tex 文件(找不到内存转储文件)

无法在 Texnic Center 上构建 .tex 文件(找不到内存转储文件)

我在 Windows 8 上运行MikTex 2.9,并尝试编译我的第一个 .tex 文件。当我尝试构建 latex->PS 或 latex->PDF 时,我遇到以下错误。

latex> latex.exe: The memory dump file could not be found
latex> latex.exe: Data: latex.fmt
BibTex> I couldn't open file name 'prac.aux'

我已检查目录是否正确,并且我分别有针对 PS 和 PDF 格式的 ghostscript viewer 和 adobe reader。我尝试了其他解决方案,例如“以管理员身份运行”,但initexmf --dump不起作用。我还尝试重新安装 MikTex 2.9,但无济于事。

然后我尝试按照一些解决方案中的建议进行操作Start => Programs => MiKTeX 2.9 => Maintenance => SettingsUpdate Formats但遇到了以下错误:

“MikTex 配置实用程序失败。您想查看记录吗?”

如果我点击“是”,则会出现一个包含大量文本的新窗口。我已将几行内容粘贴在下面。如有任何帮助,我将不胜感激。谢谢

Creating the latex format file...
Running miktex-pdftex.exe...
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (INITEX)
entering extended mode
("C:\Program Files\MiKTeX 2.9\tex\latex\config\latex.ini"
(C:\Users\lenovo\AppData\Roaming\MiKTeX\2.9\tex\generic
\config\pdftexconfig.tex
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latex.ltx"
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\texsys.cfg")
./texsys.aux found     

\@currdir set to: ./.

Assuming \openin and \input 

have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,

LaTeX2e <2015/01/01> patch level 2

hacks, control, par, spacing, files, font encodings, lengths,

====================================

Local config file fonttext.cfg used

====================================

("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\fonttext.cfg"

("C:\Program Files\MiKTeX 2.9\tex\latex\base\fonttext.ltx"

=== Don't modify this file, use a .cfg file instead ===

("C:\Program Files\MiKTeX 2.9\tex\latex\base\omlenc.def")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1enc.def")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\omsenc.def")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1cmr.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmr.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmss.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1cmtt.fd")))

====================================

Local config file fontmath.cfg used

====================================

("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\fontmath.cfg"

("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontmath.ltx"

=== Don't modify this file, use a .cfg file instead ===

("C:\Program Files\MiKTeX 2.9\tex\latex\base\omlcmm.fd")    

("C:\Program Files\MiKTeX 2.9\tex\latex\base\omscmsy.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\omxcmex.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\base\ucmr.fd")))

====================================

Local config file preload.cfg used

=====================================

("C:\Program Files\MiKTeX 2.9\tex\latex\base\preload.cfg"

("C:\Program Files\MiKTeX 2.9\tex\latex\base\preload.ltx")) page nos., x-ref,
environments, center, verbatim, math definitions, boxes, title, sectioning,

contents, floats, footnotes, index, bibliography, output,

===========================================

Local configuration file hyphen.cfg used

===========================================

("C:\Program Files\MiKTeX 2.9\tex\cslatex\base\hyphen.cfg"

Loading english hyphenation patterns and exceptions

("C:\Program Files\MiKTeX 2.9\tex\generic\hyphen\hyphen.tex")

! LaTeX Error: Encoding scheme `IL2' unknown.

See the LaTeX manual or LaTeX Companion for explanation.

Type  H <return>  for immediate help.

 ...                                              



l.131 ...                        \@requesthyphens}

No pages of output.

Transcript written on latex.log.

miktex-makefmt: miktex-pdftex.exe failed on latex.ini.    
initexmf.EXE: The operation failed for some reason.
initexmf.EXE: Data: C:\Program Files\MiKTeX 2.9\miktex\bin\x64\miktex-    makefmt.exe

答案1

miktex 的 babel 包中目前有一个错误。文件位于 中,tex/tex/generic/babel而不是tex/generic/babel

如果安装了 cslatex 包,则会出现问题,因为现在它的 hyphen.cfg 位于 babel 的 hyphen.cfg 之前。

在包裹修复之前,您可以执行以下操作:

  1. 将 hyphen.cfg 从 移动tex/tex/generic/babeltex/generic/babel

  2. 刷新 miktex 设置中的 FNDB(管理员)

  3. 更新格式。

相关内容