From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org and XeTeX? Date: Sat, 22 Jan 2011 00:32:30 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=52744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgQUH-0008GU-KE for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:33:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgQUG-0001C6-G0 for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:33:49 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:40302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgQUG-0001C0-70 for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:33:48 -0500 Received: by eyh6 with SMTP id 6so1192097eyh.0 for ; Fri, 21 Jan 2011 15:33:47 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ross Laird Cc: kjhealy@soc.duke.edu, emacs-org list On Apr 22, 2010, at 6:10 PM, Ross Laird wrote: > I mostly use XeTeX (rather than LaTeX). Can Org be setup to use the > XeTeX > engine? I've looked at the variable org-export-latex-classes (as > well as > org-export-latex-package-alist), and it looks like I can insert the > XeTeX-specific code: > > \TeXXeTstate=1 > \usepackage{fontspec,xunicode} > > \defaultfontfeatures > {Numbers=OldStyle,Scale=MatchLowercase,Mapping=tex-text} > \setmainfont{Sabon LT Std} > \setromanfont[Mapping=tex-text]{Sabon LT Std} > \setsansfont[Scale=MatchUppercase]{Myriad Pro} > \usepackage{xltxtra} > > But can Org use XeTeX? The command is "xelatex" rather than "latex". Hi Ross, I found a blog post by Kieran Healy today - it addresses this problem in an elegant way. Maybe this should somehow be integrated into the FAQ or a XeTeX-Org-mode tutorial? http://www.kieranhealy.org/blog/archives/2011/01/21/exporting-org-mode-to-pdf-via-xelatex/ - Carsten > > Ross > > -- > Ross A. Laird, PhD > www.rosslaird.com > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode