我不确定这是否应该在这里,或者我是否应该创建一个错误报告。我正尝试bbm
按照以下示例使用该包:
\documentclass{article}
\usepackage{bbm}
\begin{document}
$\mathbbm{A}$
\end{document}
但我收到以下错误:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(./minimalbbm.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, uk
english, usenglishmax, loaded.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/bbm-macros/bbm.sty)
(./minimalbbm.aux)
(/usr/local/texlive/2011/texmf-dist/tex/latex/bbm-macros/ubbm.fd)
kpathsea: Running mktextfm bbm10
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation for bbm10.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input bbm10
This is METAFONT, Version 2.718281 (TeX Live 2011)
kpathsea: Running mktexmf bbm10
! I can't find file `bbm10'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input bbm10
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input bbm10
Transcript written on mfput.log.
grep: bbm10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input bbm10' failed to make bbm10.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font U/bbm/m/n/10=bbm10 at 10.0pt not loadable: Metric (TFM) file not found.
<to be read again>
relax
l.6 $\mathbbm{A}
$
?
仅供参考:我正在运行 Fedora,并手动安装了 TeXlive 2011,并且已经运行
$ tlmgr install bbm-macros
但没有bbm
可用的包裹:
$ tlmgr search bbm
bbm-macros - LaTeX support for "blackboard-style" cm fonts.
看起来这可能是问题所在。在 Fedora TeXlive 中有一个包texlive-bbm
和一个包texlive-bbm-macros
——前者包含 cm-fonts。
答案1
我tlmgr show bbm
得到了
package: bbm
category: Package
shortdesc: "Blackboard-style" cm fonts.
因此该bbm
包存在。
我对 Fedora 不太了解,但如果texlive-bbm
有软件包,那么你必须安装它bbm-macros
我建议您一次性彻底完成安装。
答案2
bbm
我设法完成了安装
$ tlmgr install bbm
$ tlmgr install bbm-macros
希望这有帮助。我正在运行 Mac OS X 并手动安装了 TeXLive basic。
答案3
您需要安装 bbm 字体。您可以从以下位置获取字体
http://www.tug.org/texlive/devsrc/Master/texmf-dist/fonts/tfm/public/bbm/