From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Herenz Newsgroups: gmane.emacs.help Subject: Re: Converting German Umlauts to LaTeX Date: Sat, 21 Apr 2007 19:16:00 +0200 Message-ID: <462A46D0.3000809@physik.hu-berlin.de> References: <462A1F75.4050405@home.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177175810 14574 80.91.229.12 (21 Apr 2007 17:16:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2007 17:16:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?=22Wilfred_Zegwaard_=28priv=E9=29=22?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 19:16:43 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HfJCT-0004Ju-1Z for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2007 19:16:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfJHe-0008FU-Qx for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2007 13:22:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfJHS-0008FF-15 for help-gnu-emacs@gnu.org; Sat, 21 Apr 2007 13:21:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HfJHQ-0008F3-Ks for help-gnu-emacs@gnu.org; Sat, 21 Apr 2007 13:21:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfJHQ-0008F0-CI for help-gnu-emacs@gnu.org; Sat, 21 Apr 2007 13:21:48 -0400 Original-Received: from irz6.physik.hu-berlin.de ([141.20.40.56] helo=mail.physik.hu-berlin.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HfJCD-0002f0-Ij for help-gnu-emacs@gnu.org; Sat, 21 Apr 2007 13:16:26 -0400 Original-Received: from localhost (irz6.physik.hu-berlin.de [127.0.0.1]) by mail.physik.hu-berlin.de (Postfix) with ESMTP id 8B9EF1A000D; Sat, 21 Apr 2007 19:16:02 +0200 (CEST) Original-Received: from [192.168.0.3] (e178236186.adsl.alicedsl.de [85.178.236.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.hu-berlin.de (Postfix) with ESMTP id 57EE51A0005; Sat, 21 Apr 2007 19:16:01 +0200 (CEST) User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <462A1F75.4050405@home.nl> X-Virus-Scanned: by AMaViS snapshot-20020222 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42968 Archived-At: Wilfred Zegwaard (priv=E9) schrieb: > In LaTeX it is usual that you use the TeX side of it. > > So it is not: =E4, but \"a. > > If you don't like that you can load additional codepackages where you > can use =E4. 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 =E4, 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 distributio= n. 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