auctex
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: [AUCTeX] Problem with Auctex Preview on Fedora]


From: David Kastrup
Subject: Re: [Fwd: Re: [AUCTeX] Problem with Auctex Preview on Fedora]
Date: Wed, 25 Oct 2006 14:54:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Christophe Farges <address@hidden> writes:

> After some tests, I think that the problem comes from the way that
> Xemacs encodes texts with accents. I've got 2 computers:
> - one on windows with cygwin, Auctex, Xemacs that works fine
> - one on Fedora, Auctex Xemacs that has the accents problem.
>
> I made the following tests on each computer:
> 1) Create a new file on Xemacs
> 2) Write a very simple latex document using accents from my keyboard
> and using those packages:
> \usepackage[french]{babel}
> \usepackage[latin1]{inputenc}
> 3) Save
> 4) compile with latex
>
> Everything works fine with the windows pc and I've got accents problem
> with the fedora pc when visualizing the dvi or ps or pdf (for example,
> when I type "été" I get something wreid like "@&et@").
>
> BUT if I make:
> - steps 1 to 3 on my windows pc
> - copy the .tex file on the fedora computer
> - modify this file and save again on the fedora computer
> - compile with latex on the fedora computer
> then it works fine.
>
> That's why I think that the problem comes from the way the Xemacs of
> Fedora encodes the texts with accents.
>
> Do you know what I could do to make it work fine?

That is not at all a problem with Preview.  What do you expect if you
lie to LaTeX about the input encoding you use?

If you don't use a latin1 input encoding, then don't tell LaTeX that
you do.

In the lower left of the Emacs buffer mode line, you'll find a letter
indicating encoding of the file.  Probably something like "1" for
latin-1, and "u" for utf8.  If you want to keep using utf8, you'll
need to tell LaTeX that utf8 is your input encoding, not latin1.

Alternatively,  you need to tell Emacs that it should use Latin-1 to
encode your file instead of the system default, using
C-x RET f latin1 RET
and then saving the file.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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