emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ross@rosslaird.com (Ross A. Laird)
To: emacs-orgmode@gnu.org
Subject: Org and XeTeX?
Date: Thu, 22 Apr 2010 08:58:43 -0700	[thread overview]
Message-ID: <87bpdbo4wc.fsf@rosslaird.com> (raw)


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

             reply	other threads:[~2010-04-22 16:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 15:58 Ross A. Laird [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-04-22 16:00 Org and XeTeX? Ross A. Laird
2010-04-22 16:10 Ross Laird
2010-04-22 16:48 ` Ross Laird
2010-04-22 17:02 ` Thomas S. Dye
2010-04-23 11:56   ` Carsten Dominik
2011-01-21 23:32 ` Carsten Dominik
2011-01-22  2:42   ` Kieran Healy

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=87bpdbo4wc.fsf@rosslaird.com \
    --to=ross@rosslaird.com \
    --cc=emacs-orgmode@gnu.org \
    /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).