mktexmf 找不到 cmathbb 字体(Linux)

mktexmf 找不到 cmathbb 字体(Linux)
\documentclass{article}
\usepackage{cmathbb}

\begin{document}
    \[ \mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \subset
    \mathbb{C} \subset \mathbb{H} \subset \mathbb{O}
    \]
\end{document}

我想使用与 Computer Modern 字体相匹配的黑板字母cmathbb字体包。上面的代码(来自这里) 无法编译,并且在输出中出现以下错误。

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./a.tex
LaTeX2e <2022-06-01> patch level 5
L3 programming layer <2022-08-30>
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2022/texmf-dist/tex/latex/cmathbb/cmathbb.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./a.aux) (/usr/local/texlive/2022/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/local/texlive/2022/texmf-dist/tex/latex/cmathbb/ucmath.fd)
kpathsea: Running mktextfm Cmathbb-Regular-tlf-t1
/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Could not map source abbreviation C for Cmathbb-Regular-tlf-t1.
/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2022/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Cmathbb-Regular-tlf-t1
This is METAFONT, Version 2.71828182 (TeX Live 2022) (preloaded base=mf)


kpathsea: Running mktexmf Cmathbb-Regular-tlf-t1
! I can't find file `Cmathbb-Regular-tlf-t1'.
<*> ...; nonstopmode; input Cmathbb-Regular-tlf-t1

Please type another input file name
! Emergency stop.
<*> ...; nonstopmode; input Cmathbb-Regular-tlf-t1

Transcript written on mfput.log.
grep: Cmathbb-Regular-tlf-t1.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input Cmathbb-Regular-tlf-t1' failed to make Cmathbb-Regular-tlf-t1.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font U/cmath/m/n/10=Cmathbb-Regular-tlf-t1 at 10.0pt not loadable: Metric (TF
M) file not found.
<to be read again> 
relax 
l.5     \[ \mathbb{N}
\subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} ...

编辑:阅读评论后,似乎这是 Linux 软件包中的一个错误。代码在 Windows 上编译没有任何问题;我不知道 MacOS 的情况。

相关内容