我不能傅立叶和其他字体包,以便在 Mac OS 上的 TeX-Live 上使用。我已经安装了傅立叶包并尝试了updmap-sys
不同mktexlsr
组合的终端命令。以下示例仍然无法编译:
% !TEX TS-program = pdflatex
\documentclass{article}
\usepackage{fourier}
\begin{document}
$0$
\end{document}
我得到:
pdfTeX 错误:/usr/texbin/pdflatex(文件 futr8r):未找到 552 处的字体 futr8r
我的问题:在 TeX Live 中安装字体包的正确方法是什么?例如,我应该怎么做才能安装傅立叶包,除了安装它TeX Live 实用程序? 我可以重新安装它吗?
我尝试重新安装或删除傅立叶和TeX Live 实用程序。重新安装声称成功,但并未修复该软件包。删除不起作用,我收到以下日志消息:
2013-11-10 12:10:24 +0000 Notice -[TLMMainWindowController removePackagesWithNames:force:][1376] Beginning removal of
(
fourier
)
2013-11-10 12:10:24 +0000 Notice -[TLMAuthorizedOperation main][1376] Checking code signature before running tlu_ipctask as root…
2013-11-10 12:10:24 +0000 Notice /usr/bin/codesign[1376] /Applications/Custom/TeX Front Ends/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk
/Applications/Custom/TeX Front Ends/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement
2013-11-10 12:10:24 +0000 Notice -[TLMAuthorizedOperation main][1376] Signature was valid, okay to run tlu_ipctask
2013-11-10 12:10:32 +0000 Notice -[TLMAuthorizedOperation main][1376] Invoking privileged task via AuthorizationExecuteWithPrivileges
2013-11-10 12:10:32 +0000 Notice tlu_ipctask[4080] dropped privileges to user nobody
2013-11-10 12:10:33 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][1376] tlu_ipctask checking in: tlu_ipctask pid = 4080
2013-11-10 12:10:33 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][1376] tlu_ipctask checking in: pid = 4081 (/usr/texbin/tlmgr remove fourier)
2013-11-10 12:10:33 +0000 Notice tlu_ipctask[4080] tlu_ipctask: child HOME = '/var/root'
2013-11-10 12:10:33 +0000 Notice tlu_ipctask[4080] tlu_ipctask: current HOME = '/var/empty'
2013-11-10 12:10:34 +0000 Notice tlu_ipctask[4080] tlmgr: removing package fourier
2013-11-10 12:10:34 +0000 Notice tlu_ipctask[4080] tlmgr: ultimately removed these packages: fourier
2013-11-10 12:10:34 +0000 Notice tlu_ipctask[4080] tlmgr: package log updated: /usr/local/texlive/2013basic/texmf-var/web2c/tlmgr.log
2013-11-10 12:10:34 +0000 Notice tlu_ipctask[4080] running mktexlsr ...
2013-11-10 12:10:35 +0000 Notice tlu_ipctask[4080] done running mktexlsr.
2013-11-10 12:10:35 +0000 Notice tlu_ipctask[4080] running updmap-sys ...
2013-11-10 12:10:40 +0000 Notice tlu_ipctask[4080] done running updmap-sys.
2013-11-10 12:10:40 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1376] kqueue noted that pid 4081 exited (/usr/texbin/tlmgr remove fourier)
2013-11-10 12:10:40 +0000 Notice tlu_ipctask[4080] child process pid = 4081 exited
2013-11-10 12:10:41 +0000 Notice tlu_ipctask[4080] exit status of pid = 4081 was 0
2013-11-10 12:10:41 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1376] waitpid returned 4080, WIFEXITED(0) = 1, errno = 17 (File exists)
2013-11-10 12:10:41 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1376] kqueue noted that tlu_ipctask (pid = 4080) exited with status 0
2013-11-10 12:10:41 +0000 Notice -[TLMRemoveOperation main][1376] ERROR: failed to remove packages {(
fourier
)} (requested removal of (
fourier
))
我进一步试验:我删除并重新安装了整个 TeX Live 发行版,安装了更新,然后傅立叶包。我尝试立即将其删除,但删除失败。我重新安装了它,并尝试编译我的测试文件,但编译失败并出现另一个错误:
pdfTeX 错误:/usr/texbin/pdflatex(文件 putr8a.pfb):无法打开 Type 1 字体文件进行读取
答案1
我最近在 Windows 7 MiKTeX 2.9 中遇到了非常类似的错误消息。解决方案是以udpmap.exe
管理员身份运行。该程序位于:
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\
答案2
安装utopia
包解决了该问题。