sjtug / SJTUThesis

上海交通大学 LaTeX 论文模板 | Shanghai Jiao Tong University LaTeX Thesis Template
Apache License 2.0
3.34k stars 793 forks source link

mac下使用命令行编译失败,错误是没有字体 #593

Closed wanpiqiu123 closed 3 years ago

wanpiqiu123 commented 3 years ago

问题描述: mac下使用命令行编译失败,错误是没有字体: Package fontspec Error: The font "Kaiti SC" cannot be found. 错误来源应该是ctex,在这里定义的:/Users/leo/Library/Application Support/MiKTeX/texmfs/install/tex/latex/ctex/fo ntset/ctex-fontset-macnew.def 看了一下mac的字体库好像没有Kaiti SC

系统信息:

日志信息:

https://pastebin.ubuntu.com/p/JFQPG79cvY/

skyzh commented 3 years ago

https://support.apple.com/zh-hk/HT210192 Kaiti SC 需要自行下载。请在 Font Book 应用中操作。