unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christian Herenz <herenz@physik.hu-berlin.de>
To: "\"Wilfred Zegwaard (privé)\"" <wilfred.zegwaard@home.nl>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Converting German Umlauts to LaTeX
Date: Sat, 21 Apr 2007 19:16:00 +0200	[thread overview]
Message-ID: <462A46D0.3000809@physik.hu-berlin.de> (raw)
In-Reply-To: <462A1F75.4050405@home.nl>

Wilfred Zegwaard (privé) schrieb:
> In LaTeX it is usual that you use the TeX side of it.
>
> So it is not: ä, but \"a.
>
> If you don't like that you can load additional codepackages where you
> can use ä. But if you use XeTeX or to Germany adapted LaTeX
> distributions (with EMacs), these problems are solved.
As I said, at home everything works fine, cause I had the choice to
install a LaTeX distribution which fits my needs  (openSUSE implements a
lot of packages for LaTeX in their distribution). And yes, I don't like
typing \"a instead of ä, because that somewhat slows down my workflow.
Another Problem here is, that the emacs interprets the " by default in
TeX mode as quotes, and changes them into '', which will not interpreted
as an umlaut anymore. Of course, this behaviour is changeable, but I
think that it is not "so cool" that this behaviour is default.

The Problem which started this thread, was indeed that the package for
UTF8 encoding was not available on one of the two systems where I have
to work on my document. Unfortunately this system is in an environment,
where I only have normal user acsess to the system, and I have no
influence on the system wide installed packages nor the LaTeX distribution.

However, it was also mentioned earlier in this thread that I could solve
the problem with an local copy of the file "utf8.def". I have not tested
this, but it should work.

What I have tested, and that worked for me and I think it is a good
solution is to save the file in emacs as Latin9 encoded. Then I use
\usepackage{inputenc}[latin9] and I can type my umlauts at home and at
the university terminals as I like them to type.

There was also a nice snippet for my .emacs send to me, which was not
postet to this list. This is really great, since emacs saves TeX-files
automatically as Latin9 encoded, when this is inserted into .emacs.

    (setq file-coding-system-alist
      (append
        '(("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix))
    ;    '(("\\.el\\'"  iso-latin-9-unix . iso-latin-9-unix))
        file-coding-system-alist))

I already forwarded it to this list, but I think something went wrong so
it did not appear here in this thread. Thats why I am posting this again.

> Check out the TeXlive distibution. There is documentation about using
> TeXLive with EMacs and German there. There is sufficient documentation
> about using german codepages with LaTeX at the German TeX users group.
> A list of codepages for EMacs / LaTeX can be found in several
> distributions.
Thank you, I will have a look at it.

Regards,
Christian

  reply	other threads:[~2007-04-21 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2295.1177063991.7795.help-gnu-emacs@gnu.org>
2007-04-20 15:01 ` Converting German Umlauts to LaTeX Stefan Monnier
2007-04-20 20:48   ` Christian Herenz
2007-04-21  7:25     ` Daniel Rubin
2007-04-21 14:28 ` "Wilfred Zegwaard (privé)"
2007-04-21 17:16   ` Christian Herenz [this message]
2007-04-20 10:07 Christian Herenz
2007-04-20 10:25 ` Daniel Rubin
2007-04-20 10:48   ` Daniel Rubin
2007-04-20 14:32     ` Christian Herenz

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=462A46D0.3000809@physik.hu-berlin.de \
    --to=herenz@physik.hu-berlin.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=wilfred.zegwaard@home.nl \
    /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.
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).