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 09:00:46 -0700 Message-ID: <8739yno4sx.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 1O4yyb-00041G-9j for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:10:05 -0400 Received: from [140.186.70.92] (port=37087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4yut-00031i-IF for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:10:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4ytm-0004bC-OR for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:05:13 -0400 Received: from lo.gmane.org ([80.91.229.12]:36138) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ytm-0004b0-GH for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:05:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4ytj-0000Xx-6i for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 18:05:03 +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 18:05:03 +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 18:05:03 +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