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

无法从pdf中得到正确文字 #6

Open
citrus-lemon opened this issue Jun 3, 2018 · 2 comments
Open

无法从pdf中得到正确文字 #6

citrus-lemon opened this issue Jun 3, 2018 · 2 comments

Comments

@citrus-lemon
Copy link

在macOS XeTeX 3.14159265-2.6-0.99998 (TeX Live 2017)
上使用模版生成的pdf无法将文字正确复制出来,我怀疑这会影响到查重的正确性和可靠性
模版中的汉字支持是使用的 xeCJK
使用 \usepacakge{ctex} 包在此设备可以正确的处理汉字复制问题

@GenkunAbe
Copy link
Contributor

这个是 XeLaTeX 伪粗体的 BUG,解决方法有两种:

  • 手动设置粗体字体,不要用 XeLaTeX 的伪粗体

    \setCJKmainfont[BoldFont={STZhongsong}, ItalicFont={KaiTi}]{SimSun}
  • 使用 OTF 字体,如思源宋体或 Fandol 字体

@GenkunAbe
Copy link
Contributor

另外,刚刚看到你提交的 PR,发现你也跟我一样试图添加论文封面。这个问题应该是在增加了封面之后才出现的,所以还有第三种解决方法就是不要编译封面。

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

No branches or pull requests

2 participants