我在这里花了几个小时尝试为 TeXLive 2013 安装字体。我做了和往常一样的事情:
- 解压到
/usr/local/texlive/texmf-local
- 跑步
sudo mktexlsr
- 然后
sudo updmap-sys --enable Map 5ch.map
运行最后一行后我收到消息:
updmap: resetting $HOME value (was /Users/sFun) to root's actual home (/var/root). updmap is using the following updmap.cfg files (in precedence order): /usr/local/texlive/2013/texmf-config/web2c/updmap.cfg /usr/local/texlive/2013/texmf-dist/web2c/updmap.cfg updmap is using the following updmap.cfg file for writing changes: /usr/local/texlive/2013/texmf-config/web2c/updmap.cfg dvips output dir: "/usr/local/texlive/2013/texmf-var/fonts/map/dvips/updmap" pdftex output dir: "/usr/local/texlive/2013/texmf-var/fonts/map/pdftex/updmap" dvipdfmx output dir: "/usr/local/texlive/2013/texmf-var/fonts/map/dvipdfmx/updmap" pxdvi output dir: "/usr/local/texlive/2013/texmf-var/fonts/map/pxdvi/updmap" ERROR: The following map file(s) couldn't be found: 5ch.map (in /usr/local/texlive/2013/texmf-config/web2c/updmap.cfg) Did you run mktexlsr? You can disable non-existent map entries using the option --syncwithtrees.
我也尝试对用户库中的 texmf 进行同样的操作 - 同样的错误消息:(
答案1
我终于安装好了字体。不知为何,它无法与 updmap-sys 配合使用。我刚刚将字体安装到我的库 ( ~/Library/texmf
),然后在那里创建 updmap 配置文件 ( ~/Library/texmf/web2c/updmap.cfg
) 并执行updmap
命令。