From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: =?UTF-8?B?UmU6IGV4cG9ydGluZyDOsS/OsiB0byBsYXRleC9wZGY=?= Date: Tue, 06 May 2014 18:33:20 -0400 Message-ID: <87eh06fsgf.fsf@alphaville.bos.redhat.com> References: <87k3a1tw46.fsf@skimble.plus.com> <20140504214218.GA7192@chitra.no-ip.org> <87oazdmbsl.fsf@gmail.com> <5367C1C8.2000306@inventati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whnvi-0000eE-5S for emacs-orgmode@gnu.org; Tue, 06 May 2014 18:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whnva-0003RD-Qv for emacs-orgmode@gnu.org; Tue, 06 May 2014 18:33:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:50787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whnva-0003R7-Ky for emacs-orgmode@gnu.org; Tue, 06 May 2014 18:33:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WhnvZ-00069g-1X for emacs-orgmode@gnu.org; Wed, 07 May 2014 00:33:33 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 May 2014 00:33:33 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 May 2014 00:33:33 +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: emacs-orgmode@gnu.org "Clément B." writes: >> The *easiest* solution is to just say \alpha and \beta in the org file >> instead of α and β. But biting the bullet and adopting XeTeX or LuaTeX is >> probably the *best* way to go (he says without ever having used either...) > > For those who stick with pdflatex, you can also use "α" directly in > the org document, and define > > #+latex_header: \usepackage[utf8]{inputenc} > #+latex_header: \declareunicodecharacter{03b1}{α} > > Provided your file is indeed encoded in utf-8 (but why would you use > any other encoding?) > > This simply tells the compiler to bind "α" to the unicode character > "greek small letter alpha" (U+03B1). If there is a lot of unicode in > the document, XeTeX/LuaTeX are definitely better choices. > > But that's not quite right: you end up with a circular definition (and both pdflatex and plain latex think so: they infloop). One way to fix it using a math alpha: --8<---------------cut here---------------start------------->8--- #+LATEX_HEADER: \DeclareUnicodeCharacter{03b1}{\(\alpha\)} --8<---------------cut here---------------end--------------->8--- Another is to use \textalpha and a package that defines it: --8<---------------cut here---------------start------------->8--- #+LATEX_HEADER: \usepackage{textgreek} #+LATEX_HEADER: \DeclareUnicodeCharacter{03b1}{\textalpha} --8<---------------cut here---------------end--------------->8--- but then you have to install the package (and possibly some fonts as well). Nick PS. So happy that gmane is back :-)