9

I noticed that if I have a file open in texmaker and then change the file using a different program (or, e.g., the file is shared via Dropbox and someone else makes changes), then texmaker will automatically overwrite the new version with its latest copy.

In similar situations with an editor like vim, vim will detect that the file has changed and ask me if I want to keep the old copy from vim or reload with the new file. This is the kind of behavior I want from texmaker.

Can I make texmaker give me the choice of reloading with the new file instead of silently overwriting the new file with its old copy?

7

Since TeXstudio is based on TeXmaker this solution could apply also.

You can see below the option to do what you want. Go to Options menu and then Configure.

Note the Show advanced options selected on the left bottom corner.

enter image description here

| improve this answer | |
  • 2
    Great! In texmaker, I opened Options, then instead of "Adv. Editor" for texstudio, do "Editor". The box to check is "Check for external changes". I did a quick test and this gives me the behavior I want! – Stephen Feb 3 '15 at 22:51
  • @Stephen, nice! In my opinion, TeXstudio is much better, specially for auto completion. – Sigur Feb 3 '15 at 22:54
  • Great! It was very troubling when using svn checkout or git pull. If do not pay attention, directly compiling the files will overwrite the updates. – LI Xuhong Oct 27 '17 at 15:21
  • @Sigur: This solution does not work for Networkdrives (sftp). – JoKalliauer Feb 23 '18 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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