[XeTeX] Emacs (X11) and XeTeX

Ralf Stubner ralf.stubner at physik.uni-erlangen.de
Sat Feb 3 17:51:30 CET 2007


Stephen Moye <stephenmoye at mac.com> writes:

> I have installed AUCTeX, and put this:
>
> (load "auctex.el" nil t t)
> (load "preview-latex.el" nil t t)
>
> in my .emacs file -- so, yes, I am using AUCTeX it would appear. I
> tried adding what you suggested, but my file was not run with xelatex,
> but with latex -- there was an error message giiven by fontspec that
> xetex was needed to run the file. 

Do you also have soemthing like

     (setq TeX-auto-save t)
     (setq TeX-parse-self t)
     (setq-default TeX-master nil)

in your .emacs? (See AUCTeX manual for details.) This is needed for
AUCTeX to parse the document and do special things like using xelatex in
case fontspec.sty is used.

cheerio
ralf



More information about the XeTeX mailing list