我正在尝试用 编译以下文件pdflatex
。
\documentclass[10pt]{book}
\usepackage{fourier}
\begin{document}
$p<0.05$
\end{document}
我收到以下错误。
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+552/600 --dpi 552 fourier-ms
mktexpk: don't know how to create bitmap font for fourier-ms.
mktexpk: perhaps fourier-ms is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
)
!pdfTeX error: pdflatex (file fourier-ms): Font fourier-ms at 552 not found
==> Fatal error occurred, no output PDF file produced!
我已经下载并安装这个包,但我仍然收到错误。
我如何构建这个 LaTeX 文件?
这是 的输出pdflatex -v
。
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.41.0
答案1
我尝试了各种各样的方法,但唯一有效的解决方案是基于这个答案然后运行updmap
。
sudo apt-get remove texlive
sudo apt-get autoremove
sudo apt-get remove tex-common --purge
sudo apt-get install texlive-full
updmap