From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Unicode and Latex export Date: Sun, 7 Aug 2011 18:50:34 +0200 Message-ID: References: <4E3E6267.8010702@witte.net.au> <87mxflb2qx.fsf@sophokles.streitblatt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq6Yy-00064t-8W for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qq6Yx-0001a8-9K for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:50:56 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:61118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq6Yx-0001a4-3d for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 12:50:55 -0400 Received: by fxg9 with SMTP id 9so3776194fxg.0 for ; Sun, 07 Aug 2011 09:50:54 -0700 (PDT) In-Reply-To: <87mxflb2qx.fsf@sophokles.streitblatt.de> 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: Florian Beck Cc: emacs-orgmode@gnu.org Hi Florian, On Sun, Aug 7, 2011 at 6:33 PM, Florian Beck wrot= e: >> 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 > > =A0 =A0 =A0 =A0 "\\documentclass[11pt]{article}" > > with > > =A0 =A0 =A0 =A0 "[NO-DEFAULT-PACKAGES] > =A0 =A0 =A0 =A0 \\documentclass[11pt]{article}\n\\usepackage{myxe}" > > and put everything you need in myxe.sty. > That is a good solution. I think I will consider this. > BTW, this only works if you use a font that provides all the characters > you need (and looks nice enough for your taste). I don't usually customise my fonts and go with the default latex fonts. Do you have any suggestions what fonts that would be appropriate here? I tried using XITS, but that didn't help. > Alternatively, you could > use `org-export-latex-final-hook' and write a function that translates > unicode characters to latex code. > I have considered this, but as I mentioned I am not well versed in lisp. Going this route might be more fun, but not good for work. ;) Thanks, --=20 Suvayu Open source is the future. It sets us free.