From: Teemu Likonen <tlikonen@iki.fi>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get xetex/xelatex option in the Emacs menu?
Date: Fri, 23 Apr 2010 22:45:04 +0300 [thread overview]
Message-ID: <87hbn2lzr3.fsf@mithlond.arda> (raw)
In-Reply-To: 52ac7ffb-26b3-4d04-b722-3802190ca554@j17g2000yqa.googlegroups.com
* 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.
next prev parent reply other threads:[~2010-04-23 19:45 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 [this message]
2010-04-23 20:13 ` Tariq
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=87hbn2lzr3.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--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).