From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: Re: Unicode and Latex export Date: Sun, 07 Aug 2011 18:33:26 +0200 Message-ID: <87mxflb2qx.fsf@sophokles.streitblatt.de> References: <4E3E6267.8010702@witte.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq6Jb-0001VC-3w for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qq6JZ-0007M2-Jc for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:35:03 -0400 Received: from mo-p05-ob.rzone.de ([81.169.146.182]:49300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq6JZ-0007Ly-En for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:35:01 -0400 In-Reply-To: (suvayu ali's message of "Sun, 7 Aug 2011 14:15:39 +0200") 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: suvayu ali Cc: emacs-orgmode@gnu.org suvayu ali writes: > Hello Christopher, > > On Sun, Aug 7, 2011 at 12:01 PM, Christopher Witte w= rote: >> You could try using XeLaTeX, which supports unicode. =C2=A0Instructions = 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. --=20 Florian Beck