I edit tex file in Emacs
, and compile it by C-c C-c
, then LaTeX
command. Another way to compile it is to use latex file.tex
in a terminal.
Now, I would like to compile a file with xelatex
, xelatex file.tex
works already in a terminal line. So I want to make C-c C-c
in Emacs
be able to launch either LaTeX
or XeLaTeX
. Ideally, XeLaTeX
should be added to the list of possible commands.
Here is the current .emacs, could anyone help?