macOS Catalina 更新后缺少字体“zplsups-Regular-t1”

macOS Catalina 更新后缺少字体“zplsups-Regular-t1”

自 Catalina 更新以来,我似乎缺少一些字体。

最小失败示例:

\documentclass{article}
\usepackage{newpxtext}
\usepackage[T1]{fontenc}

\begin{document}
Error at footnote number here.\footnote{Error just now.}
\end{document}

输出:

This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2019-10-01> patch level 1
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/08/27 v1.4j Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/newpxtext.sty
`newpxtext' v1.321, 2017/08/18 Text macros taking advantage of TeXGyre Pagella 
and its extensions (msharpe)
(/usr/local/texlive/2019/texmf-dist/tex/latex/fontaxes/fontaxes.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2019/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.def
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1enc.dfu))))
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/t1zpltlf.fd)
No file test.aux.
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/t1zplsups.fd) [1{/usr/local
/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+480/600 --dpi 480 zplsups-Regular-t1
mktexpk: don't know how to create bitmap font for zplsups-Regular-t1.
mktexpk: perhaps zplsups-Regular-t1 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: /Library/TeX/texbin/pdflatex (file zplsups-Regular-t1): Font zpl
sups-Regular-t1 at 480 not found
 ==> Fatal error occurred, no output PDF file produced!

我手动检查了 /usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map,发现映射文件中确实缺少该字体。但是,如果我在系统上找到它,我就可以找到它:

$ locate zplsups
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Bold-ly1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Bold-ot1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Bold-t1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-BoldItalic-ly1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-BoldItalic-ot1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-BoldItalic-t1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Italic-ly1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Italic-ot1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Italic-t1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Regular-ly1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Regular-ot1.tfm
/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newpx/zplsups-Regular-t1.tfm
/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/ly1zplsups.fd
/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/ot1zplsups.fd
/usr/local/texlive/2019/texmf-dist/tex/latex/newpx/t1zplsups.fd
/usr/local/texlive/2019/texmf-dist/tex4ht/ht-fonts/alias/t1fonts/zplsups-Bold-t1.htf
/usr/local/texlive/2019/texmf-dist/tex4ht/ht-fonts/alias/t1fonts/zplsups-BoldItalic-t1.htf
/usr/local/texlive/2019/texmf-dist/tex4ht/ht-fonts/alias/t1fonts/zplsups-Italic-t1.htf
/usr/local/texlive/2019/texmf-dist/tex4ht/ht-fonts/alias/t1fonts/zplsups-Regular-t1.htf

我尝试通过 Tex-Live Utility 重新安装 newpx、newtx 和 tex-gyre 包,但没有任何改变。

知道如何将该字体放回我的映射文件中吗?

答案1

分发的newpx.map文件缺少字体系列的条目zplsups,这是套件上次升级中的一个错误newpx

目前,直到错误修复为止,您可以使用以下defaultsups选项:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[defaultsups]{newpxtext}

\begin{document}
No error at footnote number here.\footnote{No error.}
\end{document}

相关内容