From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: accented letters in pdf export Date: Wed, 02 Jan 2013 16:24:00 -0500 Message-ID: <8880.1357161840@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqVn9-0001lf-S5 for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqVn8-00032f-9H for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:24:03 -0500 Received: from g4t0016.houston.hp.com ([15.201.24.19]:24951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqVn8-00030j-2b for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:24:02 -0500 In-Reply-To: Message from Tyler Smith of "Wed, 02 Jan 2013 15:28:22 EST." 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: Tyler Smith Cc: Emacs-orgmode@gnu.org Tyler Smith wrote: > I'm using org 7.9.2, with the new exporter dispatcher from > org-export. When I try to include accented letters, such as \'e, they > don't work. When I export to pdf using C-c C-e p, the resulting tex > file shows $\backslash$'e where I had \'e in the org file. Other > macros, like \ alpha, work fine. > How do I include accented letters in my pdflatex exports? > That looks like a bug in the new exporter (the old exporter handles it properly). You can get accented letters by entering the character in e.g. utf-8 and arranging for tex to do the right thing (which I think it does by default with unicode in org's latex export). You can use an input method to simplify entering such things as well. Here's a quick intro (there are many other ways to accomplish this): o Set your language environment to utf-8 (set-language-environment "UTF-8") o Open a new org file in an emacs buffer: C-x C-f foo.org RET The new file should have a U:--- designation on the mode line. o Set your default input method to TeX: (set-input-method "TeX") The mode line should now show \U:--- o Enter some text with accented characters - the TeX input method allows you to enter an accented e with \'e or \`e for example, but what ends up in the buffer is the accented character itself (in utf-8 encoding). o Export to latex/pdf. Assuming the tex file includes \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} then TeX will do the right thing. For more on the TeX aspects, see the TeX FAQ http://www.tex.ac.uk/cgi-bin/texfaq2html and search for inputenc. Nick