From mboxrd@z Thu Jan 1 00:00:00 1970 From: ross@rosslaird.com (Ross A. Laird) Subject: Org and XeTeX? Date: Thu, 22 Apr 2010 08:58:43 -0700 Message-ID: <87bpdbo4wc.fsf@rosslaird.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4ypU-0001rz-Ep for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:00:42 -0400 Received: from [140.186.70.92] (port=58057 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4ypQ-0001in-JT for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:00:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4ynt-0003ch-0w for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:59:06 -0400 Received: from lo.gmane.org ([80.91.229.12]:59913) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4yns-0003cV-Oi for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:59:00 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4ynq-0005nn-Ei for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:58:58 +0200 Received: from h24-207-49-46.dlt.dccnet.com ([24.207.49.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:58:58 +0200 Received: from ross by h24-207-49-46.dlt.dccnet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:58:58 +0200 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: emacs-orgmode@gnu.org I use XeTeX, mostly (rather than LaTeX), and I'm wondering if it might be possible to use XeTeX with org. XeTeX requires a few special lines in the header of the document, but after these lines it operates the same as LaTeX. For my setup, the extra lines typically look like this: \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} Can org be set up to use the XeTeX engine with the above variables? I've looked at org-export-latex-classes, and it seems like I can insert the above code into that variable -- but can org use the setup? Ross -- Ross A. Laird, PhD www.rosslaird.com