[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Feature request: Auto-compiling every ten seconds
From: |
Rasmus |
Subject: |
Re: [AUCTeX] Feature request: Auto-compiling every ten seconds |
Date: |
Sat, 16 Apr 2011 14:49:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
AW <address@hidden> writes:
> Quite often I'm just writing text, left hand emacs, right hand the pdf-viewer
> showing my page.
>
> To compile I'm typing C-C C-S C-C C-C (1. save 2. compile). What about an
> auto-compilation-modus, which saves and compiles every ten or 15 seconds?
> "M-x
> autocompile 15" => every 15 seconds.
>
> Nowadays most Computers are so fast, it would not disturb whatever running in
> the background. Maybe the module to do that could even stop if the last run
> terminated with an error.
>
> Just an idea.
You might be more happy with something like latexmk (Perl) or rubber
(Python). At least the former will auto-compile every time a change is
detected, and quite fast! A similar project called latex-daemon exists
for Win.
For example
,----
| latexmk main.tex --pvc
`----
you could also use the --pdf flag, or add something like the following
to your ~/.latexmk file
,----
| $pdflatex = 'pdflatex --interaction nonstopmode --synctex=-1 %O %S';
`----
Whether AUCTeX easily handles a deamon, I simply don't know.
–Rasmus
--
Sent from my Emacs