安装 MathTime Pro 2 (MacTex) 时遇到问题

安装 MathTime Pro 2 (MacTex) 时遇到问题

我遵循这里的指示:

$sudo texhash
warning: kpathsea: configuration file texmf.cnf not found in these directories:       /opt/local/etc/texmf.
texhash: Done.

但我可以通过以下方式解决这个问题

$sudo /usr/texbin/texhash/
texhash: Updating /usr/local/texlive/2012/../texmf-local/ls-R... 
texhash: Updating /usr/local/texlive/2012/texmf/ls-R... 
texhash: Updating /usr/local/texlive/2012/texmf-config/ls-R... 
texhash: Updating /usr/local/texlive/2012/texmf-dist/ls-R... 
texhash: Updating /usr/local/texlive/2012/texmf-var/ls-R... 
texhash: Done.

然后我这样做updmap-sys --enable Map=mtpro2.map

$sudo updmap-sys --enable Map=mtpro2.map 
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
updmap: Cannot find TEXMFROOT, aborting!

我确信它texmf.cnf不在指定的目录中,因为它来自旧安装(不是 MacTeX)。正确的位置是,/usr/local/texlive/2012/texmf.cnf但我不知道如何让这些命令识别它。

顺便说一下,which kpathsea没有返回任何内容。

相关内容