From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Unicode (hindi/devnagari) in beamer export Date: Thu, 2 Feb 2012 15:02:03 +0100 Message-ID: References: <20120202114751.GA19477@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxF7-0001vc-By for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 09:02:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsxF2-0002tP-CF for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 09:02:29 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:44558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxF2-0002tF-37 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 09:02:24 -0500 Received: by bkbzs2 with SMTP id zs2so2535873bkb.0 for ; Thu, 02 Feb 2012 06:02:23 -0800 (PST) In-Reply-To: <20120202114751.GA19477@panahar> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode On Thu, Feb 2, 2012 at 12:47, Vikas Rawal 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.