编辑2020-07-14:此问题现在还报告为问题 #587在 GitHub 上的 MiKTeX 存储库上。
备注:截至 2020-07-13,该问题仅发生在预发布的 MiKTeX 发行版中,因此只有测试版软件包受到影响。
下面的例子:
最大能量损失 1:
\documentclass{article}
%\usepackage[swashQ]{fbb} % No error.
%\usepackage{ETbb} % No error.
\usepackage[swashQ]{ETbb} % Error when using with \textit{…}.
\begin{document}
Quest. % No error.
\textit{Test}. % Error when using with \usepackage[swashQ]{ETbb}.
\end{document}
失败并出现错误Sorry, but pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\⟨User⟩\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log
,所提及的日志内容为:
⟨time⟩ INFO pdflatex - this process (2904) started by 'texstudio' with command line: pdflatex.exe -synctex=1 -interaction=nonstopmode texstudio_JeXOrj.tex
⟨time⟩ INFO pdflatex - allowing known shell commands
⟨time⟩ INFO pdflatex - enabling input (output) from (to) processes
⟨time⟩ FATAL pdflatex.core - Read operation failed.
⟨time⟩ FATAL pdflatex.core - Data: path="", read="0", n="1"
⟨time⟩ FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/C4P/C4P.h:255
⟨time⟩ FATAL pdflatex - Read operation failed.
⟨time⟩ FATAL pdflatex - Info: path="", read="0", n="1"
⟨time⟩ FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/C4P/C4P.h
⟨time⟩ FATAL pdflatex - Line: 255
⟨time⟩ INFO pdflatex - this process (2904) finishes with exit code 1
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.tex
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.pdf
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.aux
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.log
⟨time⟩ WARN miktex.core - still open: "C:\Users\⟨User⟩\AppData\Local\Programs\MiKTeX 2.9\fonts/vf/public/etbb\ETbb-Italic-tlf-swash-t1.vf"
⟨time⟩ INFO pdflatex - this process (23036) started by 'texstudio' with command line: pdflatex.exe -synctex=1 -interaction=nonstopmode texstudio_JeXOrj.tex
⟨time⟩ INFO pdflatex - allowing known shell commands
⟨time⟩ INFO pdflatex - enabling input (output) from (to) processes
⟨time⟩ FATAL pdflatex.core - Read operation failed.
⟨time⟩ FATAL pdflatex.core - Data: path="", read="0", n="1"
⟨time⟩ FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/C4P/C4P.h:255
⟨time⟩ FATAL pdflatex - Read operation failed.
⟨time⟩ FATAL pdflatex - Info: path="", read="0", n="1"
⟨time⟩ FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/C4P/C4P.h
⟨time⟩ FATAL pdflatex - Line: 255
⟨time⟩ INFO pdflatex - this process (23036) finishes with exit code 1
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.tex
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.aux
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.pdf
⟨time⟩ WARN miktex.core - still open: texstudio_JeXOrj.log
⟨time⟩ WARN miktex.core - still open: "C:\Users\⟨User⟩\AppData\Local\Programs\MiKTeX 2.9\fonts/vf/public/etbb\ETbb-Italic-tlf-swash-t1.vf"
注释掉\textit{Test}
以及切换\usepackage[swashQ]{ETbb}
到\usepackage{ETbb}
或到可以消除此问题。因此,选项和某些内部宏\usepackage[swashQ]{fbb}
之间可能存在冲突。我不知道如何进一步调查此事,但也许 TeX.SX 社区的某个人可以帮助消除此问题。swashQ
ETbb
\textit
编辑2020-07-14:
fbb
当使用或(不带任何选项)以及由带有选项的软件包ETbb
提供的脚注时,也会出现类似的错误。下面是一个说明性的 MWE。它在稳定的 MiKTeX 上也能很好地工作,但在预发布版上会失败。footmisc
symbol
最大能量损失 2:
\documentclass{article}
\usepackage[symbol]{footmisc}
\usepackage{fbb} % Error when using with \footnote{…} of footmisc with option symbol.
%\usepackage{ETbb} % Error when using with \footnote{…} of footmisc with option symbol.
\begin{document}
Test% No error.
\footnote{Test.}. % Error for \usepackage{fbb} or \usepackage{ETbb}.
\end{document}