emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Unicode (hindi/devnagari) in beamer export
Date: Thu, 2 Feb 2012 15:02:03 +0100	[thread overview]
Message-ID: <CAMXnza0baeR=pddiYjmUHmMiNwS_CPcp6btF0bmBknwoQF8czg@mail.gmail.com> (raw)
In-Reply-To: <20120202114751.GA19477@panahar>

On Thu, Feb 2, 2012 at 12:47, Vikas Rawal
<vikaslists@agrarianresearch.org> wrote:
> I need some Hindi/Devnagari text in a beamer presentation. I am able
> to use scim-bridge to enter unicode text in orgmode. But have not yet
> been able to export it correctly to a beamer presentation.
>
> Any pointers would be helpful.
>

I don't know about scim-bridge, but you can use transliteration
provided within emacs to enter the text very fluidly. As for export,
try xelatex or lualatex. They have much better unicode support. The
following should do it:

(setq org-latex-to-pdf-process
      "xelatex -interaction nonstopmode -output-directory %o %f"
      "xelatex -interaction nonstopmode -output-directory %o %f"
      "xelatex -interaction nonstopmode -output-directory %o %f")

and

# for unicode export to pdf with xelatex
#+LATEX_HEADER: \usepackage{xltxtra}

You can choose your font with something like this:

# font for pdf export as article
#+LATEX_HEADER: \setmainfont{Linux Libertine}

Make sure you choose something which supports devanagari.

It would be nice if you report back whether it worked. I would be interested.

GL

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2012-02-02 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02 11:47 Unicode (hindi/devnagari) in beamer export Vikas Rawal
2012-02-02 14:02 ` suvayu ali [this message]
2012-02-03  5:09   ` Vikas Rawal
2012-02-03 11:24     ` suvayu ali
2012-02-10  6:09   ` Vikas Rawal
2012-02-10  8:31   ` Vikas Rawal
2012-02-02 14:04 ` Jambunathan K
2012-02-02 23:19   ` Vikas Rawal

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='CAMXnza0baeR=pddiYjmUHmMiNwS_CPcp6btF0bmBknwoQF8czg@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.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).