From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Org and XeTeX? Date: Thu, 22 Apr 2010 07:02:56 -1000 Message-ID: <9C9F6444-E90B-4FE8-9216-9410524E2C22@tsdye.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0579539067==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4znu-000598-JT for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 13:03:06 -0400 Received: from [140.186.70.92] (port=56911 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4zns-00058g-NK for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 13:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4znq-0006RL-FZ for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 13:03:04 -0400 Received: from oproxy2-pub.bluehost.com ([66.147.249.254]:39464 helo=outbound-mail-360.bluehost.com) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O4znq-0006Qr-8Y for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 13:03:02 -0400 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: emacs-orgmode@gnu.org --===============0579539067== Content-Type: multipart/alternative; boundary=Apple-Mail-14--556683442 --Apple-Mail-14--556683442 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Apr 22, 2010, at 6:10 AM, 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". > > Ross > > -- > Ross A. Laird, PhD > www.rosslaird.com Aloha Ross, Earlier this month when changes were made to the LaTeX export configuration, xetex compatibility was left to the user. There is a footnote to this effect in the manual: [103] The default LaTeX output is designed for processing with pdftex or latex. It includes packages that are not compatible with xetex and possibly luatex. See the variables org-export-latex-default-packages- alist and org-export-latex-packages-alist. If you get export to xetex working, I think it would be useful to document the solution either here on the mailing list or, better, somewhere on Worg. HTH, Tom --Apple-Mail-14--556683442 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Apr 22, 2010, = at 6:10 AM, 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=3D1
=   \usepackage{fontspec,xunicode}
=   \defaultfontfeatures{Numbers=3DOldStyle,Scale=3DMatchLowercase= ,Mapping=3Dtex-text}
  \setmainfont{Sabon LT Std}
=   \setromanfont[Mapping=3Dtex-text]{Sabon LT Std}
=   \setsansfont[Scale=3DMatchUppercase]{Myriad Pro}
=   \usepackage{xltxtra}

But can Org use XeTeX? The = command is "xelatex" rather than "latex".

Ross

--
Ross = A. Laird, PhD
www.rosslaird.com

Aloha Ross,

Earlier this = month when changes were made to the LaTeX export configuration, xetex = compatibility was left to the user.  There is a footnote to this = effect in the manual:

[103] The = default LaTeX output is designed for processing with pdftex or latex. It includes packages that are not compatible with xetex and possibly luatex. See the variables org-export-latex-default-packages-alist and = org-export-latex-packages-alist.

If = you get export to xetex working, I think it would be useful to document = the solution either here on the mailing list or, better, somewhere on = Worg.

HTH,
Tom 
= --Apple-Mail-14--556683442-- --===============0579539067== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0579539067==--