CentOS7 手动安装 newtx 后出现字体映射问题

CentOS7 手动安装 newtx 后出现字体映射问题

如果已经有答案,请见谅。我在论坛中搜索并找到了一些相关的问题/答案,但仍然无法解决我的问题。我已经TeX Live 2013在我的CentOS7计算机上安装了,到目前为止没有问题。但是,我经常向其提交文章的期刊的新样式文件现在包括newtx。我发现(通过这些论坛)无法自动通过TeX LiveCentOS7但设法从 CTAN 获得它。我按照安装说明操作,材料现在在我的TEXMFLOCAL/usr/share/texlive/texmf-local)中;此外,我检查了该"Map newtx.map"行是否出现在所有texmf*/web2c/updmap.cfg文件中。

在安装后运行时pdflatex,出现缺少样式文件的问题fontaxes.sty,我随后按照说明从 CTAN 安装了该文件。在pdflatex这些安装后再次运行时,我得到以下输出:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
(./orogen-review1.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(./agujournal.cls
Document Class: agujournal 08/06/2016
(/usr/share/texlive/texmf-local/tex/newtxtext.sty
`newtxtext' v1.5, 2016/08/12 Text macros taking advantage of TeX-Gyre Termes fo
nts (msharpe) (/usr/share/texlive/texmf/tex/latex/fontaxes.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def)) 
No Babel
) (/usr/share/texlive/texmf-local/tex/newtxmath.sty
`newtxmath' v1.5, 2016/08/12 Math macros based on txfonts (msharpe)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kastrup/binhex.tex))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)) (./lineno.sty)
 (/usr/share/texlive/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/share/texlive/texmf-dist/tex/latex/ms/ragged2e.sty
(/usr/share/texlive/texmf-dist/tex/latex/ms/everysel.sty))
(/usr/share/texlive/texmf-dist/tex/latex/rotating/rotating.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty) (./natbib.sty))
(/usr/share/texlive/texmf-local/tex/t1ntxtlf.fd)

kpathsea: Running mktextfm ntx-Regular-tlf-t1

/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation  for ntx-Regular-tlf-t1.

/usr/share/texlive/texmf/web2c/mktexnam: Need to update ?

mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ntx-Regular-tlf-t1
This is METAFONT, Version 2.718281 (TeX Live 2013)


kpathsea: Running mktexmf ntx-Regular-tlf-t1
! I can't find file `ntx-Regular-tlf-t1'.
<*> ...g:=1; nonstopmode; input ntx-Regular-tlf-t1

Please type another input file name
! Emergency stop.
<*> ...g:=1; nonstopmode; input ntx-Regular-tlf-t1

Transcript written on mfput.log.
grep: ntx-Regular-tlf-t1.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ntx-Regular-tlf-t1' failed to make ntx-Regular-tlf-t1.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/ntxtlf/m/n/10=ntx-Regular-tlf-t1 at 10.0pt not loadable: Metric (TFM)
 file not found.
<to be read again> 
                   relax 
l.10 \begin{document}

?

看起来系统无法找到我的TEXMFLOCAL目录(子目录tfm)中的新字体。我在论坛的其他地方看到过类似的问题,但尚未从结果线程中找到适用于我的系统的解决方案。有人可以给出建议吗?

相关内容