emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org and XeTeX?
@ 2010-04-22 16:10 Ross Laird
  2010-04-22 16:48 ` Ross Laird
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ross Laird @ 2010-04-22 16:10 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Org and XeTeX?
@ 2010-04-22 16:00 Ross A. Laird
  0 siblings, 0 replies; 8+ messages in thread
From: Ross A. Laird @ 2010-04-22 16:00 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Org and XeTeX?
@ 2010-04-22 15:58 Ross A. Laird
  0 siblings, 0 replies; 8+ messages in thread
From: Ross A. Laird @ 2010-04-22 15:58 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-22  2:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).