当我刚刚更新我的OS X系统时,xelatex编译的pdf不再显示中文(字符丢失)。我看着日志,它说
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=xelatex 2015.3.9) 17 OCT 2015 21:18
entering extended mode
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B)
Missing character: There is no 林 in font ptmr7t!
Missing character: There is no 星 in font ptmr7t!
Missing character: There is no 宇 in font ptmr7t!
顺便说一下,我正在使用sublime latex工具插件。
答案 0 :(得分:0)
我也遇到了这个问题。 虽然我的语言是日语,但我认为它有相同的解决方案。
试试这个:
然后打开文件LaTexTools>建设者> traditionalBuilder.py
注释第18-20行,DEFAULT_COMMAND_LATEXMK
然后粘贴:
DEFAULT_COMMAND_LATEXMK = ["latexmk", "-cd",
"-e", "$latex = 'platex -synctex=1 -src-specials -interaction=nonstopmode'",
"-e", "$biber = 'biber %O --bblencoding=utf8 -u -U --output_safechars %B'",
"-e", "$bibtex = 'pbibtex %O %B'",
"-e", "$makeindex = 'makeindex %O -o %D %S'",
"-e", "$dvipdf = 'dvipdfmx %O -o %D %S'",
"-e", "$pdf_mode = '3'",
"-e", "$pdf_update_method = '0'",
"-e", "$pdf_previewer = 'open -a preview.app'",
"-f", "-norc", "-gg", "-pdfdvi"]
按Cmd + Shift + P并输入" recon",然后运行LatexTools:Reconfigure and migrate Settings
退出Sublime文本(不关闭窗口,但退出)