[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get xetex/xelatex option in the Emacs menu?
From: |
Teemu Likonen |
Subject: |
Re: How to get xetex/xelatex option in the Emacs menu? |
Date: |
Fri, 23 Apr 2010 22:45:04 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) |
* 2010-04-23 12:04 (-0700), Tariq wrote:
> Thank you so much for the code for two hooks. Consider this my naivity
> but I cannot tell the difference (if any) in the behaviour of Emacs
> when using the first or the second (fancier) hook. Specifically, I see
> the appearance of XeLaTeX under the Command menu after opening a .tex
> file and this is the case with either code. Similarly, when I select
> (in TeXing Options) PDF Mode, I still need to press XeLaTeX in Command
> menu.
The "fancy" version sets the default compiler command for the document
when you load a tex file or switch to latex-mode. I think you'll notice
the difference when you use C-c C-c to compile a document. With the
"fancy" version it's either XeLaTeX or LaTeX, depending on whether there
is \usepackage{fontspec} (or mathspec) within the first 3000 characters
of the document.
Or that's how it works in my system. I don't know Auctex very deeply and
its different versions may behave differently.