emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode mailing list <emacs-orgmode@gnu.org>,
	Richard Lawrence <richard.lawrence@berkeley.edu>
Subject: Re: Umlauts in LaTeX export
Date: Thu, 04 Nov 2010 11:16:25 +0000	[thread overview]
Message-ID: <87mxppfieu.fsf@ucl.ac.uk> (raw)
In-Reply-To: <21363.1288842714@gamaville.dokosmarshall.org> (Nick Dokos's message of "Wed, 03 Nov 2010 23:51:54 -0400")

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

Nick Dokos <nicholas.dokos@hp.com> 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 #2: iso-8859-1 encoded org file --]
[-- Type: text/org, Size: 162 bytes --]

# -*- 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/.

[-- Attachment #3: Type: text/plain, Size: 123 bytes --]


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

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-11-04 11:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 15:50 Umlauts in LaTeX export Richard Lawrence
2010-11-03 16:56 ` Sunny Srivastava
2010-11-03 17:35 ` Stefan Vollmar
2010-11-03 17:51   ` Jean-Marie Gaillourdet
2010-11-03 18:45     ` Stefan Vollmar
2010-11-03 20:08     ` Eric S Fraga
2010-11-03 20:15       ` Stefan Vollmar
2010-11-04  3:14         ` Richard Lawrence
2010-11-04  7:10           ` Stefan Vollmar
2010-11-04  3:51     ` Nick Dokos
2010-11-04  4:19       ` Differences in headline exports [was: Umlauts in LaTeX export] Richard Lawrence
2010-11-04 11:16       ` Eric S Fraga [this message]
2010-11-04 12:01         ` Umlauts in LaTeX export Nick Dokos
2010-11-05  5:15     ` german-postfix and speedkeys (was: Umlauts in LaTeX export) Memnon Anon
2010-11-05 11:10       ` german-postfix and speedkeys Jean-Marie Gaillourdet
2010-11-07 12:00         ` Memnon Anon
2010-11-03 17:54   ` Umlauts in LaTeX export Magnus Henoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxppfieu.fsf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=richard.lawrence@berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).