Skip to main content
2 of 5
added 443 characters in body

How to disable doc-view in AUCTex

I'm using Emacs 24.3.1 with AUCTex for LaTeX editing. The command C-c C-c allows me to easily compile the document with pdflatex. However, the second time I'm running C-c C-c, instead doc-view is launched (showing the resulting pdf).

This doesn't fit with my workflow. I use a different pdf viewer, and sometimes need to compile the document twice to get citations right etc.

Can I disable doc-view so that C-c C-c always executes pdflatex?

I've tried the solutions suggested here How to disable DocView as default command in AUCTeX? but had no effect.

This solution didn't work either how to modify default command for TeX-command-master (ie, C-c C-c)? since I don't seem to have a TeX-command-master command installed (not available on M-x). C-c must be mapped to something else.