TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I always seem to compile the code but forget to save. Albeit I do save every now and then, but I want to know if it automatically saves when I compile the code, just incase my laptop hangs or something happens that might make me lose my work in the future.

share|improve this question
I don't use TexShop, but it will surely save before compiling. TexShop itself doesn't do the compilation: it passes the whole .tex file off to pdflatex (or whichever compiler you are using). In order to do that it has to write the latest changes to the file. – Ubiquitous Apr 12 '13 at 18:39
The latest TeXShop version supports the auto-save features of OS X Mountain Lion. – Matthew Leingang Apr 12 '13 at 19:04
up vote 5 down vote accepted

Yes. It calls an external program to typeset, so it must save the file first. Mac OS always gives a visual indication if the file has unsaved changes: the red "close window" button is blocked out. You will notice that the button clears whenever you typeset.

(Version 2.45 had a bug where it did not automatically save when typesetting. However, you would surely notice this, since changes would not appear in the output until you saved the file.)

share|improve this answer
Thank you for the info ! – Razor Apr 13 '13 at 2:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.