我如何从 wasysym 打印 \twonotes?

我如何从 wasysym 打印 \twonotes?

当我尝试使用 pdftex 编译以下示例时,我得到:

pdflatex symbol.tex -output-format=pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./symbol.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/local/texlive/2014/texmf-dist/tex/latex/standalone/standalone.cls
Document Class: standalone 2012/09/15 v1.1b Class to compile TeX sub-files stan
dalone
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2014/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2014/texmf-dist/tex/latex/standalone/standalone.cfg)
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2014/texmf-dist/tex/latex/varwidth/varwidth.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/wasysym/wasysym.sty)
No file symbol.aux.
(/usr/local/texlive/2014/texmf-dist/tex/latex/wasysym/uwasy.fd) [1{/usr/local/t
exlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./symbol.aux) )
!pdfTeX error: pdflatex (file wasy10.pfb): cannot open Type 1 font file for rea
ding
 ==> Fatal error occurred, no output PDF file produced!
Makefile:7: recipe for target 'make' failed
make: *** [make] Error 1

相关内容似乎是

!pdfTeX error: pdflatex (file wasy10.pfb): cannot open Type 1 font file for reading

[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2014/texmf-dist/tex/latex/wasysym/uwasy.fd) [1{/usr/local
/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./symbol.aux) )</
usr/local/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
!pdfTeX error: pdflatex (file wasy10.pfb): cannot open Type 1 font file for rea
ding

但是,was10.pfb存在并且拥有-rw-r--r--足够的权利。

这是什么问题?我该如何解决?

最小示例

\documentclass[varwidth=true, border=2pt]{standalone}

\usepackage{wasysym}

\begin{document}\twonotes
\end{document}

答案1

来自评论:通过运行texhash以便库kpse可以找到字体,问题得到了解决。为什么需要这样做尚不清楚,标准安装应该已经存储了此信息。

相关内容