[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Umlauts in LaTeX export

From: Eric S Fraga
Subject: Re: [Orgmode] Umlauts in LaTeX export
Date: Thu, 04 Nov 2010 11:16:25 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Nick Dokos <address@hidden> writes:


> There are a couple of assumptions here (and in Eric F.'s mail about the
> TeX input method as well). One is that the buffer is encoded in UTF-8:
> if you use e.g iso-8859-1, you can use whatever input method you want,
> but you'll end up with a byte in your file that LaTeX won't like.

Umm, just to clarify something: the file can well be in iso-8859-1
encoding.  It need not be in UTF-8 if all you want are typical west
European characters (umlauts etc.).  For instance, the following file
contents work just fine (I've forced iso-8859-1 encoding although I use
UTF-8 more often than not):

--8<---------------cut here---------------start------------->8---
# -*- coding: iso-8859-1; -*-

* Introduction

This text includes a number of characters from España because we want
to say /cigüeña/ instead of /swan/.
--8<---------------cut here---------------end--------------->8---

This exports just fine to latex and org automatically includes the line:

: \usepackage[latin1]{inputenc}

I've attached the org file in case anybody wants to play with this very
small example.

Attachment: x.org
Description: iso-8859-1 encoded org file

: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.02trans (release_7.3.14.g106ad)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]