未找到 fmex 字体 Texlive 2017 (mac)

未找到 fmex 字体 Texlive 2017 (mac)

在 OSX Sierra 上全新安装 Texlive 2017 时,我收到错误

2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy9.pfb>
!pdfTeX error: /Library/TeX/texbin/pdflatex (file fmex9.pfb): cannot open Type 
1 font file for reading
 ==> Fatal error occurred, no output PDF file produced!

这是一个简单的例子:

\documentclass[10pt]{article}

\usepackage{amssymb}

\begin{document}

\small

$$\left( 1 + \beta  |o|^2|\right)^{\frac{1}{2}}$$

\end{document}

错误是由\usepackage{amssymb}(我需要的)引起的。删除\usepackage{amssymb}会产生正确的输出。

有人可以帮忙吗?

完整记录:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex 2017.6.8)  19 JUL 2017 03:03
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**untitled
(./untitled.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\@emptytoks=\toks14
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
))
(./untitled.aux)
\openout1 = `untitled.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Try loading font information for U+msa on input line 9.
 (/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info:    Try loading font information for U+msb on input line 9.
 (/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
) [1

{/Users/mamdg/Library/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./untitled.au
x) ) 
Here is how much of TeX's memory you used:
 513 strings out of 492995
 5621 string characters out of 6132705
 54257 words of memory out of 5000000
 4124 multiletter control sequences out of 15000+600000
 7387 words of font info for 29 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 25i,4n,26p,134b,115s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi9.pf
b></usr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
</usr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb></u
sr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/
local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/loc
al/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy9.pfb>
!pdfTeX error: pdflatex (file fmex9.pfb): cannot open Type 1 font file for read
ing
 ==> Fatal error occurred, no output PDF file produced!

答案1

该问题表明存在本地.map文件,并且日志文件输出证实了这一点:

/Users/mamdg/Library/texmf/fonts/map/pdftex/updmap/pdftex.map

此文件位于您的本地texmf文件夹中,但不应该位于此文件夹中。此问题的详细解决方案可以在以下问题的答案的“如果您读得太晚”部分中找到,其中还详细解释了问题所在。

相关内容