all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Encoding Emacs and Latex
@ 2005-03-12 17:03 Joerg
  2005-03-12 17:47 ` August Karlstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Joerg @ 2005-03-12 17:03 UTC (permalink / raw)


Hi,

I have a strange problem. When I write in Emacs I can use special character
like äöü, which are properly displayed. But if I run Latex I get instead of
äöü other characters. Even if I open the tex-file in another editor I get
the replaced characters. If I type äöü in the other editor and open the file
in Emacs I get something like \344\366 etc.

Any idea what the problem is and where I have to look for a solution?

Cheers,

Joerg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encoding Emacs and Latex
  2005-03-12 17:03 Encoding Emacs and Latex Joerg
@ 2005-03-12 17:47 ` August Karlstrom
  2005-03-13  3:03   ` Joerg
  0 siblings, 1 reply; 3+ messages in thread
From: August Karlstrom @ 2005-03-12 17:47 UTC (permalink / raw)


On sön, 2005-03-13 at 01:03 +0800, Joerg wrote:
> Hi,
> 
> I have a strange problem. When I write in Emacs I can use special character
> like äöü, which are properly displayed. But if I run Latex I get instead of
> äöü other characters. Even if I open the tex-file in another editor I get
> the replaced characters. If I type äöü in the other editor and open the file
> in Emacs I get something like \344\366 etc.
> 
> Any idea what the problem is and where I have to look for a solution?

You give no info about encoding or TeX version (tetex, MikTeX). If you
use Unicode utf-8 (an `u' is shown to the left in the modeline), add the
line

\usepackage[utf8]{inputenc}

to the preamble. If you use tetex you may have to install the `tetex-
unicode' package.

-- 
August

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encoding Emacs and Latex
  2005-03-12 17:47 ` August Karlstrom
@ 2005-03-13  3:03   ` Joerg
  0 siblings, 0 replies; 3+ messages in thread
From: Joerg @ 2005-03-13  3:03 UTC (permalink / raw)


Hi August,

> You give no info about encoding or TeX version (tetex, MikTeX). If you
> use Unicode utf-8 (an `u' is shown to the left in the modeline), add the
> line

Thank you for your help. I played a little with the encodings and solved my
problem. I turned TexShop to Latin1-Encoding, my tex-files to

\usepackage[latin1]{inputenc} .

And now it works.

Previously I used the MacOS Roman encoding for my files and
[applemac]{inputenc}.

Cheers,

Joerg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-13  3:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-12 17:03 Encoding Emacs and Latex Joerg
2005-03-12 17:47 ` August Karlstrom
2005-03-13  3:03   ` Joerg

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.