Discussion:
[AUCTeX] Suppress View option for C-C C-C
Sivaram Neelakantan
2017-09-26 02:30:34 UTC
Permalink
How do I have C-C C-C bound only to LateX all the time instead of
View(which turns up after successful compilation)? I use an external
viewer that auto refreshes on compilation, so I really don't need view
from Emacs. Ditto for region/buffer compile

sivaram
--
Mandar Mitra
2017-09-26 12:43:28 UTC
Permalink
Post by Sivaram Neelakantan
How do I have C-C C-C bound only to LateX all the time instead of
View(which turns up after successful compilation)? I use an external
viewer that auto refreshes on compilation, so I really don't need view
from Emacs. Ditto for region/buffer compile
Would something like the following work for you?

(define-key LaTeX-mode-map "\C-c\C-c"
(lambda ()
(interactive)
(TeX-command "LaTeX" 'TeX-master-file)))

If it does, you could roll your own for the region / buffer commands.
Continue reading on narkive:
Loading...