Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决macOS下pdflatex报错的问题:'mac' unavailable, 调整成windows fontset并且加入SimHei… #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kevis9
Copy link

@Kevis9 Kevis9 commented Nov 16, 2023

macOS下使用macTex+vscode报错, 主要是ctex最新版本会根据操作系统类型查找字体,模板中用到的黑体和宋体都是windows下的字体,mac中不含有(黑体名称不一致),因此提供一种解决方案:

修改fontset=windows, 同时补充两种字体文件(simsum.ttc, SimHei.ttf)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant