auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] auto compile for auctex?


From: Tassilo Horn
Subject: Re: [AUCTeX] auto compile for auctex?
Date: Fri, 17 Oct 2014 11:51:43 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Thorsten Grothe <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]