-
Notifications
You must be signed in to change notification settings - Fork 5
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
关于“使用 VS Code 撰写与编译 LaTeX 模板”部分的一些修改建议 #248
Comments
我记得这个是有的 |
刚测试需要添加 |
明白你的意思了,确实是个好的建议 |
如果有后续文档或者模板的修改计划的话,我可以参与修改🚀 |
James-Yu/LaTeX-Workshop#3027 |
好呀,欢迎贡献 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关地址:https://bithesis.bitnp.net/guide/configure-and-compile.html#%E5%9C%A8-vs-code-%E4%B8%AD%E4%BD%BF%E7%94%A8-latexmk-%E7%BC%96%E8%AF%91
问题描述:
按照文档的提示,需要“在 VS Code 的设置中添加如下的内容定义”,按照我的理解,意味着要在如下的文件中
~/Library/Application Support/Code/User/settings.json
(Mac)或者
%appdata%\Roaming\Code\User\settings.json
(Windows)添加文档中所述的内容。
这样会导致LaTeX Workshop的默认设置被覆盖,并使得未来的LaTeX编译均使用XeTeX进行编译,可能会导致其他不兼容XeTeX的模板编译错误。
可能的解决方法
LaTeX Workshop自带了一些如"latexmk", "latexmk (latexmkrc)", "latexmk (lualatex)", "latexmk (xelatex)"等编译模板,其中"latexmk (xelatex)"与文档所述的编译命令类似,并且经测试可以完成对研究生毕设模板的编译。
可能的文档或模板修改方法
latex-workshop.latex.recipe.default命令中可以指定是选择“第一个”工具进行编译,还是选择“上一个”。因此文档中可以指明修改该项设置为“上一个”,随后点击边栏TeX图标中Build LaTeX project - Recipe: latexmk (xelatex)
按照扩展开发者的建议https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipes
是否可以在模板头部添加相关内容以默认选择XeTeX进行编译?
The text was updated successfully, but these errors were encountered: