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

为什么我用 vscode 的 xelatex 编译不出PDF #9

Open
ShuanglinGUO opened this issue Mar 2, 2023 · 4 comments
Open

为什么我用 vscode 的 xelatex 编译不出PDF #9

ShuanglinGUO opened this issue Mar 2, 2023 · 4 comments

Comments

@ShuanglinGUO
Copy link

我是LaTeX小白,用的vscode,编译顺序是 xelatex -> bibtex -> xelatex*2,编译完之后为啥没有出PDF?

@Ruzim
Copy link
Owner

Ruzim commented Mar 3, 2023

这个。。。任何环节都有可能出问题。

  1. 看看编译器(推荐texlive)装好没有。
  2. 用那个.bat文件编译看看能不能输出pdf
  3. 如果有报错,看看报的什么错?
  4. 搞不定就果断换word

@ShuanglinGUO
Copy link
Author

谢谢
我用vscode写latex的英文论文都没有问题,都能生成PDF,只是编译顺序用的是 pdflatex -> bibtex -> pdflatex*2。现在写基金申请书有中文,必须用xelatex了,不知为啥,编译完后就没有PDF生成,也没有任何报错警告的提示

@Ruzim
Copy link
Owner

Ruzim commented Mar 3, 2023

先别用vscode集成的环境。windows系统的话,直接在shell里面运行.\getpdf.bat
看看有没有pdf文件出来,如果没有,报的是什么错

@ShuanglinGUO
Copy link
Author

成的环境。windows系统的话,直接在shell里面运行.\getpdf.bat
看看有没有pdf文件出来,如果没有,报的

谢谢,搞定了,是字体的问题,我电脑没装SimHei,KaiTi,FangSong这三个字体,装了后就可以了

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