[OS X TeX] Avoiding the deletion of .aux files upon encountering errors (TeXShop)

Herbert Schulz herbs at wideopenwest.com
Thu Jun 7 09:04:00 EDT 2007

On Jun 7, 2007, at 6:43 AM, Erik Norvelle wrote:

> Greetings all,
> I've been running into a strange problem with TeXShop... if I have  
> a document set up to "typeset" in one pass (in particular, I've run  
> xdvipdfmx or XeLaTeX once to set up the citations, then I've run  
> BibTeX to generate the footnotes and bibliography, and finally run  
> xdvipdfmx or XeLaTeX a second time to generate the text with  
> references and biblio included), but the typesetting runs into a  
> problem, all of my aux files and the .bbl file get deleted.  All of  
> a sudden I have to rerun, e.g. xdvipdfmx, BibTeX and xdvipdfmx over  
> again, to get back where I was.
> Is there a way to avoid deletion of .aux and .bbl files upon  
> encountering an error?  Fixing the error (e.g. a misspelled  
> command) is easy enough, there shouldn't be any reason to have to  
> go back to step one.
> Thanks in advance for any help you may be able to offer.
> Erik Norvelle
> Universidad de Navarra
> Ayudante, Dpto. de Filosofia


Have you tried using the xelatexmk engine? It will automatically run  
xelatex, bibtex and/or makeindex if necessary and then xelatex the  
proper number of times to get the references correct.

There has a been an update to the engines recently that will force at  
least one compile. It may be what you need but I'm not sure. You can  
pick up the latest version as LatexmkTeXShop.zip at <http:// 
homepage.mac.com/herbs2/>. Hope that helps but it should at least be  
a bit of a time saver.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list