Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs auctex commandto compile and view

Tags:

emacs

auctex

I use EMACS/AucTeX. In order to compile I do C-c C-c, then it asks

"Command: (default LaTeX)"

I press RET and it is compiled. To view the compiled document I do C-c C-v.

I would like to have a simple shortcut, like pressing F1 or some other key combination to compile and then view the document. There is any simple command/function that can be inserted in .emacs to do that?

Thanks Pietro

like image 535
PinkCollins Avatar asked Oct 02 '15 10:10

PinkCollins


1 Answers

C-c C-a (TeX-command-run-all) will do the job in AUCTeX 11.89.

like image 153
Knightgu Avatar answered Nov 16 '22 14:11

Knightgu