BITNP / BIThesis-wiki

非官方本科生毕业设计论文/研究生学位论文 LaTeX 模板(以及更多)在线文档
https://bithesis.bitnp.net
Creative Commons Zero v1.0 Universal
8 stars 4 forks source link

关于“使用 VS Code 撰写与编译 LaTeX 模板”部分的一些修改建议 #248

Open panda361 opened 5 months ago

panda361 commented 5 months ago

相关地址: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

  1. 按照扩展开发者的建议https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipes

If you want to preset a per-file recipe, you may also consider place the LaTeX Workshop-specific derivative %!LW recipe=recipe-name at the top of your root file, similar to the wider recognized %!TeX root=root-file magic comment.

是否可以在模板头部添加相关内容以默认选择XeTeX进行编译?

fky2015 commented 5 months ago

是否可以在模板头部添加相关内容以默认选择XeTeX进行编译?

我记得这个是有的

panda361 commented 5 months ago

是否可以在模板头部添加相关内容以默认选择XeTeX进行编译?

我记得这个是有的

刚测试需要添加% !LW recipe = latexmk (xelatex) 才可以默认调用XeTeX进行编译

fky2015 commented 5 months ago

明白你的意思了,确实是个好的建议

panda361 commented 5 months ago

明白你的意思了,确实是个好的建议

如果有后续文档或者模板的修改计划的话,我可以参与修改🚀

panda361 commented 5 months ago

https://github.com/James-Yu/LaTeX-Workshop/issues/3027 外加,按照如上issue介绍,修改配置可以让LaTeX Workshop识别模板中现有的% !TeX program = xelatex宏,也许也是一个解决方案(但是issue提到有安全风险)

fky2015 commented 5 months ago

明白你的意思了,确实是个好的建议

如果有后续文档或者模板的修改计划的话,我可以参与修改🚀

好呀,欢迎贡献