On Mon, 17 Sep 2012 Jacobo Myerston <jmyers...@gmail.com> wrote: > I'm working on highly annotated documents using xelatex. I have been > working with texshop, but I want to use emacs (actually aquamacs) as > an editor because of the capabilities of the auctex package for emacs > to fold chunks of code, like footnotes, etc. > > For my surprise, I found that emacs 24 still does not support xelatex > out the box. It has a xetex engine, but not xelatex. I find that > different people have some hacks to get it work, but I cannot find any > documentation (step by step) how to configure emacs to works properly > with xelatex. Does anybody knows how to get xelatex to work properly > with emacs without having to use the prompt every time you want to > compile?
This ;;set xetex mode in tex/latex (add-hook 'LaTeX-mode-hook (lambda() (add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil t)) (setq TeX-command-default "XeLaTeX") (setq TeX-save-query nil) (setq TeX-show-compilation t) )) comes, if I remember correctly, from the page http://hephaistos-text.org/open-source-classics/82-emacs-auctex-and-xelatex.html which is no longer available. Regards Janusz -- , Prof. dr hab. Janusz S. Bien - Uniwersytet Warszawski (Katedra Lingwistyki Formalnej) Prof. Janusz S. Bien - University of Warsaw (Formal Linguistics Department) jsb...@uw.edu.pl, jsb...@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/ -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex