-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
关于建议改进latex workshop插件支持 #596
Comments
无法复现你的问题。 另外 |
|
编译没有任何问题,也不是保存不能自动编译的问题,而是自动编译之后,pdf里面的目录是空白的,复现的话,麻烦删除所有临时文件,使用latex workshop进行自动编译,不要手动使用make命令 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
刚刚看错了。目录这一章的内容能编译出来,总之无法复现你的问题。 |
好的我先看看如何合理复现,可能是我用的linux系统,等找到合适的方式再请教,谢谢。 |
@llk2why 我知道是为什么,因为模板默认的主文件thuthesis-example.tex第二行有一句magic comments:
此时latex workshop的auto build会使用xelatex的recipe,只编译一遍。
就可以保存的时候自动根据 |
|
确实解决了,谢谢大佬 |
可以考虑在说明文档里给需要用latex workshop的同学说明一下,这个插件确实很方便,每次修改完手动编译太折腾了。同时也多谢关注 |
我这里如果只修改settings.json,保持 |
我试了一下,结论如下:
|
@zepinglee 所以之前是因为你本地开了这个开关能编译出来吗? |
不是,应该是因为我本地配置了 |
使用vscode上的latex workshop插件,按照.vscode/settings.json里的配置,保存tex时会自动编译,但生成的目录是空白的。根据make thesis的log显示,编译过程执行了三次才生成目录,而settings.json中的命令并未成功生成目录。按照网上建议,多次重复命令也未能成功生成目录,如果自动删除列表中注释“.aux”和“.toc”的话,生成的目录是上一次修改后的结果,不能即时更新目录。
尚未能找到一个配置方案能让latex workshop解决这个问题,希望TUNA的同学方便的话改进一下这个部分
核心需求:使用latex workshop的同时,每次修改完tex保存的时候,能保持目录内容是最新的。
改进的必要性:每次修改完按保存键(ctrl+s)的同时自动编译,可以大幅节省修改&编译时间。
The text was updated successfully, but these errors were encountered: