Thorsten Grothe <[email protected]> writes:

Hi Thorsten,

> before I started using auctex I used vim with atp-latex plugin see
> here:
>
> http://atp-vim.sourceforge.net/
>
> ATP has a very nice feauture, called auto compile. When you leave vims
> insert mode the document is automatically compiled by latexmk, this is
> very convenient and I loved this feature.  Is something similar
> possible with auctex and for example latexmk?

Flymake can do that, although that's not muli-file-document aware and
will run texify instead of latexmk.  But by overriding its tex hook with
this function

  (defun flymake-get-tex-args (file-name)
    (list "latexmk" (list (TeX-master-file file-name))))

it'll probably work ok, e.g., recompile your document once you've saved
any of its files.

Bye,
Tassilo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to