emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Beck <abstraktion@t-online.de>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unicode and Latex export
Date: Sun, 07 Aug 2011 18:33:26 +0200	[thread overview]
Message-ID: <87mxflb2qx.fsf@sophokles.streitblatt.de> (raw)
In-Reply-To: <CAMXnza36CVhaFKhXc7AZcoaeZ5DDSdUGBKxx=MFXzDvjQvBGhQ@mail.gmail.com> (suvayu ali's message of "Sun, 7 Aug 2011 14:15:39 +0200")

suvayu ali <fatkasuvayu+linux@gmail.com> writes:

> Hello Christopher,
>
> On Sun, Aug 7, 2011 at 12:01 PM, Christopher Witte <chris@witte.net.au> wrote:
>> You could try using XeLaTeX, which supports unicode.  Instructions for
>> setting it up with org-mode are here
>> http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export
>>
>
> My lisp is not very good, but what is the need for such an extensive
> setup? Isn't setting org-latex-to-pdf-process to xelatex enough to
> switch packends?

It is, more or less. XeLaTeX needs a different header, that is what the
instructions set up. However, I would recommend keeping it simple and
put your packages etc in your own style file.

In `org-export-latex-classes', replace

	 "\\documentclass[11pt]{article}"

with

	 "[NO-DEFAULT-PACKAGES]
	 \\documentclass[11pt]{article}\n\\usepackage{myxe}"

and put everything you need in myxe.sty.

BTW, this only works if you use a font that provides all the characters
you need (and looks nice enough for your taste). Alternatively, you could
use `org-export-latex-final-hook' and write a function that translates
unicode characters to latex code.

-- 
Florian Beck

  reply	other threads:[~2011-08-07 16:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-06 23:25 Unicode and Latex export suvayu ali
2011-08-07 10:01 ` Christopher Witte
2011-08-07 12:15   ` suvayu ali
2011-08-07 16:33     ` Florian Beck [this message]
2011-08-07 16:50       ` suvayu ali
2011-08-07 16:54         ` suvayu ali
2011-08-07 18:07           ` Florian Beck
2011-08-07 18:28             ` suvayu ali
2011-08-07 18:41               ` Florian Beck
2011-08-07 18:49                 ` suvayu ali
2011-08-31  7:30         ` Aditya Mandayam
2011-08-31 17:18           ` Aditya Mandayam
2011-08-07 16:36     ` Christopher Witte
2011-08-07 16:45       ` suvayu ali
2011-08-08  6:13 ` Sebastien Vauban
2011-08-08  6:57   ` suvayu ali
2011-08-08  7:09     ` Nick Dokos
2011-08-08  7:17       ` suvayu ali
2011-08-08  7:53   ` Stefan Nobis
2011-08-08  8:42     ` suvayu ali

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=87mxflb2qx.fsf@sophokles.streitblatt.de \
    --to=abstraktion@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.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).