all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Trouble compiling latex sources in UTF-8 encodind
Date: Mon, 17 Jan 2005 17:10:35 +0100	[thread overview]
Message-ID: <x5mzv89guc.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.13693.1105977418.27204.help-gnu-emacs@gnu.org

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 17.01.2005 um 16:06 schrieb giglio robbo' d'acciaio:
>
>> I'didn't understood yet if it's a latex or emacs related problem,
>> anyway...
>> Latex aborts when compiling file with accented letters, like àèìòù etc.
>> I use utf-8 encoding in my ~/.emacs:
>>
>> (custom-set-variables
>>  '(current-language-environment "UTF-8"))
>
> I'd like to give all guilt to Emacs. GNU Emacs has a few options for a
> file-encoding. It could have chosen one that is incompatible with what
> Dominique Unruh thought would be UTF-8 content. Since you are
> obviously using Latin glyphs why don't you use for LaTeX
>
> 	\usepackage[latin1]{inputenc}
>
> and
>
>        (set-default-coding-systems           'iso-latin-9-unix)
>        (set-keyboard-coding-system           'iso-latin-9)
>        (prefer-coding-system                 'iso-latin-9-unix)
>
> for GNU Emacs?

Because it would be really devastatingly stupid to specify _different_
encodings for LaTeX and Emacs?

Either use latin1 with both, or latin9 with both, or if you really
must, utf-8 with both (but then preview-latex will not work properly).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  parent reply	other threads:[~2005-01-17 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 15:06 Trouble compiling latex sources in UTF-8 encodind giglio robbo' d'acciaio
2005-01-17 15:41 ` Peter Dyballa
     [not found] ` <mailman.13693.1105977418.27204.help-gnu-emacs@gnu.org>
2005-01-17 16:10   ` David Kastrup [this message]
2005-01-17 16:25     ` Matthias
2005-01-17 16:47       ` David Kastrup
2005-01-18  9:34         ` Matthias
2005-01-18 23:37           ` giglio robbo' d'acciaio
2005-01-19 10:54             ` David Kastrup

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

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

  git send-email \
    --in-reply-to=x5mzv89guc.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.