Recommended build system for latex?

latex, makefile

Solution

After considering all these options for some time, I have settled with the following solution.

- Set vim to write continuously as I type.

- Run a script in the background to build continuously, refreshing the pdf as it goes. latexmk is nearly good enough, except that it builds in place, which gets reloaded at a bad time in okular (my viewer).

The script is available at https://github.com/pbiggar/texbuild.

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

Problem

I'm trying to figure out the best build system for latex. 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. If you have experience with - latex-mk - vim-latex - kile - lyx - miktex - latex-makefile - the ultimate latex makefile - rubber - any others I havent come across Would you recommend them, and why/why not?

Original source

Related problems