# Compilation of main tex file from a chapter file with AucTeX

I have a main LaTeX file that has multiple chapter files included using \input command. For compiling them in emacs/auctex, I have to open main LaTeX and ^C^C.

How can I compile the main LaTeX from a chapter file?

I don't know exactly what happened, but I had to use ^C _ to specify the master file.

http://stackoverflow.com/questions/2199463/emacs-auctex-run-command-on-file-that-is-not-currently-open

-