help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get xetex/xelatex option in the Emacs menu?


From: Tariq
Subject: Re: How to get xetex/xelatex option in the Emacs menu?
Date: Fri, 23 Apr 2010 13:13:17 -0700 (PDT)
User-agent: G2/1.0

On Apr 23, 3:45 pm, Teemu Likonen <tliko...@iki.fi> wrote:
> * 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.

Hi Teemu

Thanks for the tip. You're right, I noticed the Ctrl-c Ctrl-c
behaviour exactly as you described.

I'll stick with the fancy version because I can just use the keyboard
for faster compilation.

Best,

Tariq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]