unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tariq <tariq.perwez@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get xetex/xelatex option in the Emacs menu?
Date: Fri, 23 Apr 2010 13:13:17 -0700 (PDT)	[thread overview]
Message-ID: <a8ef2526-843f-4a44-ad88-beba7e4db58f@y17g2000yqd.googlegroups.com> (raw)
In-Reply-To: 87hbn2lzr3.fsf@mithlond.arda

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	other threads:[~2010-04-23 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 17:54 How to get xetex/xelatex option in the Emacs menu? Tariq
2010-04-23 18:23 ` Teemu Likonen
2010-04-23 19:04   ` Tariq
2010-04-23 19:45     ` Teemu Likonen
2010-04-23 20:13       ` Tariq [this message]
2010-04-23 19:11   ` Tariq
2010-04-23 21:32     ` Ralf Angeli
2010-04-23 21:40       ` Tariq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8ef2526-843f-4a44-ad88-beba7e4db58f@y17g2000yqd.googlegroups.com \
    --to=tariq.perwez@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).