From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org, Ross Laird <ross@rosslaird.com>
Subject: Re: Org and XeTeX?
Date: Fri, 23 Apr 2010 13:56:40 +0200 [thread overview]
Message-ID: <7325ECC1-358A-4B02-8965-38A34F3E9B73@gmail.com> (raw)
In-Reply-To: <9C9F6444-E90B-4FE8-9216-9410524E2C22@tsdye.com>
On Apr 22, 2010, at 7:02 PM, Thomas S. Dye wrote:
>
> 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.
You can use the variable `org-latex-to-pdf-process' to change the
commands that are used to process the tex file.
And you can customize org-export-latex-classes to make the class
headers 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}
\usepackage{xltxtra}
[DEFAULT-PACKAGES]
[PACKAGES]
[EXTRA]
And you can change things around any way you like.
HTH
- Carsten
>
> 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
> _______________________________________________
> 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
- Carsten
next prev parent reply other threads:[~2010-04-23 11:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 16:10 Org and XeTeX? Ross Laird
2010-04-22 16:48 ` Ross Laird
2010-04-22 17:02 ` Thomas S. Dye
2010-04-23 11:56 ` Carsten Dominik [this message]
2011-01-21 23:32 ` Carsten Dominik
2011-01-22 2:42 ` Kieran Healy
-- strict thread matches above, loose matches on Subject: below --
2010-04-22 16:00 Ross A. Laird
2010-04-22 15:58 Ross A. Laird
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7325ECC1-358A-4B02-8965-38A34F3E9B73@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ross@rosslaird.com \
--cc=tsd@tsdye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).