help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Trouble compiling latex sources in UTF-8 encodind


From: Peter Dyballa
Subject: Re: Trouble compiling latex sources in UTF-8 encodind
Date: Mon, 17 Jan 2005 16:41:52 +0100


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? Otherwise you might like to choose from this:

;       (set-language-environment               'UTF-8)
        (set-default-coding-systems             'utf-8)
        (setq file-name-coding-system           'utf-8)
        (setq default-buffer-file-coding-system 'utf-8)
;       (set-keyboard-coding-system             'utf-8)
;       (set-terminal-coding-system             'iso-8859-9-unix)
        (set-terminal-coding-system             'utf-8)
;;      (set-clipboard-coding-system            'utf-8)
;;      (set-selection-coding-system            'utf-8)
        (set-language-environment               'German)
;       (prefer-coding-system                   'iso-8859-15)

You can check with 'mule-diag what's the situation in Emacs.

--
Greetings

  Pete

How many Microsoft engineers does it take to screw in a lightbulb?
None.
They just redefine "dark" as the new standard.



--
Mit friedvollen Grüßen

  Pete

Es ist, glaub' ich, nichts so heiß, wie's gerne scheinen möchte.




reply via email to

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