当我用以下 M(N)WE 编译时,pdflatex
出现错误消息
pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable.
pdflatex: Data: C:\Program Files (x86)\MiKTeX 2.9\tex/generic\dehyph-exptl
Compilation exited abnormally with code 1 at Sun Mar 01 11:09:12
代码:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
Hello, world
\end{document}
当我注释掉\usepackage{hyperref}
编译时,就可以了。 也可以
\usepackage[draft]{hyperref}
。 明确要求\usepackage[pdftex]{hyperref}
没有帮助。
这种情况几天前就开始发生了;据我所知,我的环境没有发生变化。
编辑。当我尝试编译不使用的更复杂的文档时,会发生相同的 Windows 错误hyperref
。其他一些包可能正在调用文件
C:\Program Files (x86)\MiKTeX 2.9\tex/generic\dehyph-exptl
这是上述示例的(大部分)终端输出。如果有帮助的话,我可以提供完整的日志文件。
-*- mode: compilation; default-directory: "~/tex/" -*-
Compilation started at Sun Mar 01 11:14:07
pdflatex error1392
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9)
entering extended mode
(c:\eb\tex\error1392.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ...
welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\auxhook.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg")
(C:\Users\eb\AppData\Roaming\MiKTeX\2.9\tex\latex\url\url.sty))
Package hyperref Message: Driver (autodetected): hpdftex.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"))
(c:\eb\tex\error1392.aux)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek
\gettitlestring.sty"))
pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable.
pdflatex: Data: C:\Program Files (x86)\MiKTeX 2.9\tex/generic\dehyph-exptl
Compilation exited abnormally with code 1 at Sun Mar 01 11:14:07