[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auctex with several automatic runs
From: |
Denis Bueno |
Subject: |
Re: auctex with several automatic runs |
Date: |
Thu, 6 Sep 2007 10:03:20 -0400 |
On 9/6/07, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 06.09.2007 um 02:31 schrieb Fabian Braennstroem:
>
> > I am looking for a auctex setup, which does the needed
> > latex-bibtex-latex-latex-view runs
> > automatically, when needed, with using C-cC-C just once.
>
> It's not exactly what you want, but latexmk offers what you need:
> http://www.phys.psu.edu/~collins/software/latexmk-jcc/
The problem I find with latexmk is the following use case:
1. Run `latexmk -pvc -pdf <my-tex-document>` so that latexmk will
re-TeX my file whenever it changes.
2. Make a change that causes pdflatex to barf -- a syntax error, or
something similar.
3. Immediately fix the error because 99% of the time it's something
stupid and simple.
3. latexmk hangs on the error and if you Ctrl-D to abort pdflatex,
latexmk does not notice that I have corrected the error (i.e. it does
not immediately attempt to recompile). This forces me to manually
restart latexmk, which defeats the entire purpose of automatic
recompilation.
Essentially this forces me to wait until I'm fairly sure I've written
valid LaTeX before saving. I am a compulsive saver; I save after
every phrase I write, while I think about how to complete the phrase.
Has anyone had a similar problem and found a solution?
--
Denis