From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: George Politis Newsgroups: gmane.emacs.help Subject: Re: How can I configure Emacs to use XeLaTeX without AUCTeX Date: Tue, 15 Jan 2013 18:52:39 +0100 Organization: les newsgroups par Orange Message-ID: <87622ynxjs.fsf@superpointer.com> References: <0b8caba6-81e8-4e7b-8b8b-8e6e97390f57@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358272819 6875 80.91.229.3 (15 Jan 2013 18:00:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 18:00:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 15 19:00:38 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvAoO-0000Eo-DE for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 19:00:36 +0100 Original-Received: from localhost ([::1]:38855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvAo5-0004Fc-PK for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 13:00:17 -0500 Original-Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!fdn.fr!feeder.news.orange.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (windows-nt) Cancel-Lock: sha1:bgf2EPZXLruA/M1y2uJRBYyoeKc= Original-Lines: 22 Original-NNTP-Posting-Date: 15 Jan 2013 18:55:54 CET Original-NNTP-Posting-Host: 92.139.49.63 Original-X-Trace: 1358272554 reader.news.orange.fr 1204 92.139.49.63:2231 Original-X-Complaints-To: abuse@orange.fr Original-Xref: usenet.stanford.edu gnu.emacs.help:196334 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88633 Archived-At: Stefan Monnier writes: >> The title says it all I hope, I'd like to configure Emacs to use XeLaTeX >> instead of pdfLaTeX, which is the default. > > For the builtin latex-mode, you'd have to add an entry to > tex-compile-commands (assuming you're using tex-compile, aka C-c C-c). > > E.g. > > (eval-after-load 'tex-mode > '(add-to-list 'tex-compile-commands > '((concat "xelatex " > (if (< 0 (length tex-start-commands)) > (shell-quote-argument tex-start-commands)) > " %f") > t "%r.pdf"))) > > > -- Stefan Worked like a charm, thank you Stefan!