问题描述
我正在尝试找出最佳的乳胶构建系统.
I'm trying to figure out the best build system for latex.
当前,我使用 latex-makefile ,在vim中进行编辑,并查看Okular或gv.主要的问题是它有时会在我身上隐藏错误,因此我必须手动运行乳胶.主要优点是它可以完成我需要的所有迭代,并且仅提供pdf和ps.
Currently, I use latex-makefile, editing in vim, and viewing changes in Okular or gv. The major problem is that it sometimes gets hides errors on me, and I have to run latex manually. The major advantages are that it does all the iteration I need, and offers both pdf and ps simply.
如果您有经验
- latex-mk
- vim-latex
- 杀害
- lyx
- miktex
- latex-makefile
- 最终的乳胶制作文件
- 橡胶
- 我没有遇到的其他人
您会推荐他们吗,为什么/为什么不呢?
Would you recommend them, and why/why not?
推荐答案
考虑了所有这些选项一段时间后,我决定采用以下解决方案.
After considering all these options for some time, I have settled with the following solution.
- 将vim设置为在键入时连续写.
- 在后台运行脚本以连续构建,并随即刷新pdf. latexmk几乎足够好,除了它可以就地构建,可以在不好的时候在okular(我的查看器)中重新加载.
该脚本可从 https://github.com/pbiggar/texbuild 获得.
使用rubber-info从日志文件中获取错误和警告.上面的脚本将日志文件保存在t.log中.在Vim中:
Use rubber-info to get the errors and warnings from the log file. The script above saves the log file in t.log. In vim:
autocmd FileType tex set makeprg=rubber-info\ t.log
autocmd FileType tex set errorformat=%f:%l:\ %m
这篇关于推荐的乳胶构建系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!