[OS X TeX] Re: Recovering from typing errors

jkock jkock at start.no
Sun Feb 19 08:59:18 CET 2006


> Would it be possible to avoid the second run by making a 
> backup of the .aux file and restoring it in case of an aborted 
> typesetting?

Alpha's tex interface has been doing this for years: whenever tex is
interrupted (e.g. by typing 'e' or 'x'), the previous aux file is restored.
Hence the aux file is always the one from the last *completed* tex run.
Since tex runs inside Alpha there is no guesswork involved: Alpha knows
about the interruption before tex knows about it, and tex itself will never
have to know that the aux file backup takes place.  (Of course the toc
files are also backed up.)

A related improvement over standard tex interaction is that Alpha
intercepts the 'e' signal, sends tex an 'x' instead, and does an enhanced
version of the 'e' functionality: not only is the error line selected, but
the precise char where tex got upset is selected.  This saves the user for
many navigation key strokes when correcting the error.  (Of course it 
happens that tex gets upset far from the actual error: in that case the
standard full-line selection and the enhanced single-line selection are
at equal distance from the actual error, measured in navigation 
key strokes.)

JK


-------------------------------------------------------------------------
Start.no tilbyr nå raskere bredbånd til lavere pris.
Sjekk http://www.start.no/bredband/ for mer informasjon
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list