当尝试使用 ETbb 包编译(即使是最简单的)文档时,例如:
\documentclass{article}
\usepackage{ETbb}
\begin{document}
Test.
\end{document}
我收到涉及缺少字体度量文件的错误:
line 3: Font T1/ETbb-TLF/m/n/10=ETbb-Regular-tlf-t1 at 10.0pt not loadable: Metric (TFM) file not found. \begin{document}
line 3: Font \T1/ETbb-TLF/regular/n/10=nullfont not loadable: Metric (TFM) file not found. \begin{document}
该日志还包含以下内容:
Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\⟨username⟩\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log
Couldn't open `ETbb-Regular-tlf-.cfg' hbf2gf (CJK ver. 4.8.4) […]
Couldn't open `nullfo.cfg' hbf2gf (CJK ver. 4.8.4) […]
Process finished with errors
其中miktex-makemf.log
有重复的条目(在本例中指的是虚拟字体度量文件ETbb-Italic-tlf-swash-t1.vf
和ETbb-Regular-tlf-t1.vf
),例如:
INFO miktex-maketfm - this process (16508) started by 'pdflatex' with command line: miktex-maketfm --verbose ETbb1-Regular-tlf-swash-t1
INFO miktex-maketfm - installing package fontname triggered by fontname\special.map
[…]
INFO miktex-maketfm - mpm: extracting files from fontname.tar.lzma...
INFO miktex-maketfm.core - start process: initexmf --mkmaps
INFO maketfm - Running miktex-makemf.exe...
INFO maketfm - running: miktex-makemf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose ETbb1-Regular-tlf-swash-t1
INFO miktex-maketfm.core - start process: miktex-makemf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose ETbb1-Regular-tlf-swash-t1
INFO maketfm - Running miktex-hbf2gf.exe...
INFO maketfm - running: miktex-hbf2gf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose -g ETbb1-Regular-tlf-swash-t1 300
INFO miktex-maketfm.core - start process: miktex-hbf2gf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose -g ETbb1-Regular-tlf-swash-t1 300
FATAL miktex-maketfm - No creation rule for font ETbb1-Regular-tlf-swash-t1.
FATAL miktex-maketfm - No creation rule for font ETbb1-Regular-tlf-swash-t1.
FATAL miktex-maketfm - Info:
FATAL miktex-maketfm - Source:
FATAL miktex-maketfm - Line: 0
INFO miktex-maketfm - this process (16508) finishes with exit code 1
我正在使用 MiKTeX,这个问题在常规发行版和预发行版中都存在。刷新字体映射文件、重新安装软件包等都无济于事。几周前,使用 ETbb 的文档编译仍然顺利,因此问题可能是由最近的一些更新引起的。
如果问题不仅限于我的特定安装,这可能表明 MiKTeX 中存在打包错误或冲突。在我填写之前错误报告,也许更专业的人可以看看并确认问题是由 ETbb 包或 MiKTeX 的其他组件引起的,并且没有明确的用户端解决方案。