机器: MacOS Monterey
Texstudio版本:2.12.16
问题:加载ctex宏包后,内建pdf阅读器不显示中文,外部pdf浏览器可以正常显示中文。
解决方式主要参考:知乎
记录一下实际操作中遇到的问题。
一、准备工具
- 打开终端,安装HOMEbrew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)
- 安装 poppler
brew install poppler
遇到错误,显示:
python@3.9: the bottle needs the Apple Command Line Tools to be installed
于是在终端输入
xcode-select install
然后再次安装poppler成功。

本文介绍了在MacOS Monterey上,Texstudio内置PDF阅读器无法显示中文的问题及其解决方案。通过安装HOMEbrew,更新poppler,创建软链接到正确版本的poppler库,成功解决了内部PDF不显示中文的故障。详细步骤包括查找和确认poppler版本,创建缺失的share目录,并链接到真实的poppler路径。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



