From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: accented letters in pdf export Date: Wed, 02 Jan 2013 11:13:14 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqVd9-0007nH-Tq for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:13:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqVd8-000620-AV for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:13:43 -0500 Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:56770) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TqVd8-00060M-2m for Emacs-orgmode@gnu.org; Wed, 02 Jan 2013 16:13:42 -0500 In-Reply-To: (Tyler Smith's message of "Wed, 2 Jan 2013 15:28:22 -0500") 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 writes: > Hi, > > I'm using org 7.9.2, with the new exporter dispatcher from org-export. Wh= en > 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? Please see the variable org-entities (C-h v org-entities). You'll want something like \eacute instead of \'e, etc. There is also org-entities-user for additions to the entity lookup table. I have this: (setq org-entities-user nil) (add-to-list 'org-entities-user '("space" "\\ " nil " " " " " " "=E2=80= =93")) (add-to-list 'org-entities-user '("amacron" "\\=3D{a}" nil "ā" "a" "= a" "=C4=81")) (add-to-list 'org-entities-user '("emacron" "\\=3D{e}" nil "ē" "e" "= e" "=C4=93")) (add-to-list 'org-entities-user '("imacron" "\\=3D{i}" nil "ī" "i" "= i" "=C4=AB")) (add-to-list 'org-entities-user '("omacron" "\\=3D{o}" nil "ō" "o" "= o" "=C5=8D")) (add-to-list 'org-entities-user '("umacron" "\\=3D{u}" nil "ū" "u" "= u" "=C5=AB")) (add-to-list 'org-entities-user '("Amacron" "\\=3D{A}" nil "Ā" "A" "= A" "=C4=80")) (add-to-list 'org-entities-user '("Emacron" "\\=3D{E}" nil "Ē" "E" "= E" "=C4=92")) (add-to-list 'org-entities-user '("Imacron" "\\=3D{I}" nil "Ī" "I" "= I" "=C4=AA")) (add-to-list 'org-entities-user '("Omacron" "\\=3D{O}" nil "Ō" "O" "= O" "=C5=8C")) (add-to-list 'org-entities-user '("Umacron" "\\=3D{U}" nil "Ū" "U" "= U" "=C5=AA")) (define-key org-mode-map (kbd "C-c e") 'org-export-dispatch) Also, note that C-c C-e p is typically bound to the old exporter, so you might be using the old exporter, rather than the new one. The (define-key ...) above calls the new exporter with C-c e. hth, Tom --=20 Thomas S. Dye http://www.tsdye.com