Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.