2

Is therer a way to recompile the document when there were no changes? Currently hitting C-c C-c a second time only runs the document viewer (Skim.app in my case).

  • If there were no changes at all, there'd be no need to recompile. If you remove the .aux and related files, you can force a rebuild. Not an AUCTeX user, but this link claims to have an easy method for removing the .aux and other files from inside emacs. – Mike Renfro Jan 3 '15 at 13:16
  • 2
    Hitting C-c C-c should just give you a suggestion for the command. Often the suggestion is correct and one hits RET to accept it, but there are times when an extra compilation is need (e.g. when using theorem marks from ntheorem), and the you can type L and TAB-complete to get LaTeX as the command. – Andrew Swann Jan 3 '15 at 14:45
  • @MikeRenfro I sometimes need it when images or other external files have changed. – Lenar Hoyt Jan 3 '15 at 15:11
  • @AndrewSwann: Thanks, I somehow missed the obvious fact that I can provide a command after hitting C-c C-c. Thanks! :) – Lenar Hoyt Jan 3 '15 at 15:12
  • @mcb You can walk through the list of usual commands with arrow down and with arrow up through the list of recently used commands, after C-c C-c – Keks Dose Jan 3 '15 at 15:23
3

Hitting C-c C-c should just give you a suggestion for the command.

Often the suggestion is correct and one hits RET to accept it, but there are times when an extra compilation is need (e.g. when using theorem marks from ntheorem). It such situations you can type L, for example, and TAB-complete to get LaTeX as the command.

  • Actually you don't even need to use TAB completion, when there are no ambiguities the only known command is executed ;-) – giordano Jan 3 '15 at 18:43
  • @giordano True, but I prefer seeing the name of the completion before starting the command. – Andrew Swann Jan 4 '15 at 9:53

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.