我已经bitstrea
手动安装了该包,但是当我尝试编译时,出现此错误:
! Font OT1/bvi/m/n/10=bvir7t at 10.0pt not loadable: Metric (TFM) file not foun
d.
但该文件确实存在。我该如何正确配置它,以便找到它?
更多细节
我在 OSX 上手动安装了 basictex(使用 .pkg 文件)。我想使用包bdeville
中存在的字体bdeville.sty
。此包位于 CTAN 上:
https://ctan.org/tex-archive/fonts/psfonts/bitstrea
但不能通过以下方式安装软件包tlmgr
:
$ sudo tlmgr install bitstrea
tlmgr install: package bitstrea not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.
结果相同psfonts
。我也尝试寻找另一个具有此字体的包,但一无所获:
$ tlmgr list bdevinne
tlmgr: cannot find package bdevinne, searching for other matches:
Packages containing `bdevinne' in their title/description:
Packages containing files matching `bdevinne':
因此我手动将它安装在以下文件夹中:~/Library/texmf/tex/latex/commonstuff
我们可以验证该文件是否存在:
$ find ~/Library/texmf/tex/latex/commonstuff | grep bvir7t
/Users/rgould/Library/texmf/tex/latex/commonstuff/bitstrea/devinne/tfm/bvir7t.tfm
/Users/rgould/Library/texmf/tex/latex/commonstuff/bitstrea/devinne/vf/bvir7t.vf
并且可以找到该包:
$ kpsewhich bdevinne.sty
/Users/rgould/Library/texmf/tex/latex/commonstuff/bitstrea/devinne/tex/bdevinne.sty
kpsewhich bvir7t.tfm
没有结果
我怎样才能使这个tfm
文件可见?
这是我的示例文档:
\documentclass{article}
\usepackage{geometry}
\geometry{letterpaper, margin=1cm}
\usepackage{bdevinne}
\begin{document}
\end{document}
编译输出:
$ latexmk test.tex
Latexmk: applying rule 'latex'...
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2020basic/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/local/texlive/2020basic/texmf-dist/tex/generic/iftex/iftex.sty)))
(/Users/rgould/Library/texmf/tex/latex/commonstuff/bitstrea/devinne/tex/bdevinn
e.sty)
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/l3backend/l3backend-dvips.de
f) (./test.aux)
(/Users/rgould/Library/texmf/tex/latex/commonstuff/bitstrea/devinne/tex/ot1bvi.
fd)
! Font OT1/bvi/m/n/10=bvir7t at 10.0pt not loadable: Metric (TFM) file not foun
d.
<to be read again>
relax
l.8 \begin{document}
? *geometry* driver: auto-detecting
*geometry* detected driver: dvips
(./test.aux) )
No pages of output.
Transcript written on test.log.
=== TeX engine is 'pdfTeX'
Latexmk: Errors, so I did not complete making targets