ZJU-Awesome / write_with_LaTeX

133 stars 90 forks source link

mactex 2015 报错 #1

Open granulite opened 9 years ago

granulite commented 9 years ago

Latexmk: This is Latexmk, John Collins, 5 February 2015, version: 4.43a. Latexmk: applying rule 'pdflatex'... Rule 'pdflatex': Rules & subrules not known to be previously run: pdflatex Rule 'pdflatex': The following rules & subrules became out-of-date:

'pdflatex'

Run number 1 of rule 'pdflatex'


Running 'xelatex -synctex=1 -recorder "main.tex"'

This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./main.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. (./zjuthesis.cls Document Class: zjuthesis 2015/08/23 zjuthesis document class. Created: 2014.09 .15 by Sky and Hamburger, Last Modified: 2014.09.12 by Hamburger (/usr/local/texlive/2015/texmf-dist/tex/latex/ctex/ctexbook.cls (/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3unicode-data.def) (/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) Document Class: ctexbook 2015/07/01 v2.2 Chinese adapter for class book (CTEX) (/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/ctex/ctexhook.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/ctex/ctexpatch.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/fix-cm.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/base/ts1enc.def)) (/usr/local/texlive/2015/texmf-dist/tex/latex/ms/everysel.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/ctex/config/ctexopts.cfg)


kpathsea: Running mktextfm STKaiti-TC-Regular/OT /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Could not map source abbreviation O for OT. /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2015/texmf-dist/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input OT This is METAFONT, Version 2.7182818 (TeX Live 2015) (preloaded base=mf)

kpathsea: Running mktexmf OT ! I can't find file `OT'. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

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

kpathsea: Running mktextfm STKaiti-TC-Regular/B/OT /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Could not map source abbreviation O for OT. /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2015/texmf-dist/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input OT This is METAFONT, Version 2.7182818 (TeX Live 2015) (preloaded base=mf)

kpathsea: Running mktexmf OT ! I can't find file `OT'. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

Transcript written on mfput.log. grep: OT.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input OT' failed to make OT.tfm.

kpathsea: Running mktextfm STKaiti-TC-Regular/OT /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Could not map source abbreviation O for OT. /usr/local/texlive/2015/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2015/texmf-dist/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input OT This is METAFONT, Version 2.7182818 (TeX Live 2015) (preloaded base=mf)

kpathsea: Running mktexmf OT ! I can't find file `OT'. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

Please type another input file name ! Emergency stop. <*> \mode:=ljfour; mag:=1; nonstopmode; input OT

Transcript written on mfput.log. grep: OT.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input OT' failed to make OT.tfm.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "STKaiti-TC-Regular" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H . !...............................................

l.43 }

?

granulite commented 9 years ago

搞定了,似乎是我自己的问题,设置好了字体调用就没问题了。mactex 2015有点问题。

skychan commented 9 years ago

mac 上把最好把字体都关联好,mactex 中应该有些opentype 的字体的,添加软链到你的用户字体目录里就行了,比如你的用户字体目录是 ~/Library/Fonts ,那么就在该目录下,添加软链: $ ln -s “your texlive/mactex dir”/texmf-dist/fonts/opentype ~/Library/Fonts/opentype 其余win 上的字体可能需要手动添加到字体目录下了。

wenxingxing commented 6 years ago

这个下下来,放到 ~/Library/Fonts 里面就可以了。

cuge1995 commented 2 years ago

~/Library/Fonts

有用,赞!