auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Feature request: Auto-compiling every ten seconds


From: AW
Subject: Re: [AUCTeX] Feature request: Auto-compiling every ten seconds
Date: Sun, 17 Apr 2011 10:53:21 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38.2-19-desktop; KDE/4.6.2; i686; ; )

> > 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
> 

Dear Rasmus,

thank you very much, that does it. Especially the last example for synctex was 
usefull. The filename latexmk looks for is .latexmkrc in my home-directory 
(Linux-PC). It contains exactly your example. I start latexmk by typing 

latexmk -pvc -pdf foo

in yakuake. Great!

Regards,
Alexander

> -- 
> Sent from my Emacs




reply via email to

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