From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Rubin Newsgroups: gmane.emacs.help Subject: Re: Converting German Umlauts to LaTeX Date: Fri, 20 Apr 2007 12:25:14 +0200 Message-ID: <4628950A.4010104@warum-ada.de> References: <462890E3.90103@physik.hu-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177064744 6555 80.91.229.12 (20 Apr 2007 10:25:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2007 10:25:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 12:25:38 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 1HeqJ7-0007kv-7F for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 12:25:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeqO9-0008Pp-NO for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 06:30:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeqNr-0008Pj-Bi for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 06:30:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeqNp-0008PX-Pi for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 06:30:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeqNp-0008PU-Nf for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 06:30:29 -0400 Original-Received: from smtp2.netcologne.de ([194.8.194.112]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HeqIl-0003si-UK for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 06:25:16 -0400 Original-Received: from [192.168.0.4] (xdsl-87-78-114-73.netcologne.de [87.78.114.73]) by smtp2.netcologne.de (Postfix) with ESMTP id 421424230 for ; Fri, 20 Apr 2007 12:25:15 +0200 (MEST) User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: <462890E3.90103@physik.hu-berlin.de> X-detected-kernel: Solaris 9 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:42857 Archived-At: Christian Herenz wrote: > Hello, > I am totally new to this eMail-List, so I hope this question does not=20 > seem dumb, or so.. >=20 > I write my LaTeX documents usually in emacs, that works very fine at my= =20 > personal computer. Since I am german, I use the UTF-8 encoding. I load=20 > the package for UTF-8 encoding in TeX simply with=20 > /usepackage[utf-8]{inputenc}, which really improves typing a lot (I am=20 > german, so I use frequently umlauts and the szlig). >=20 > However, at the computer-terminals in our institute, they do not suppor= t=20 > UTF-8. LaTeX gives me an error-message, that [utf-8] is not supported b= y=20 > inputenc. >=20 > My idea was to convert the document into an UTF-8 free file. So that al= l=20 > occurences of umlauts will be converted into the LaTeX equivalent (e.g.= =20 > =F6 to "o), and I could also compile the file on the debain-boxes at ou= r=20 > instiute. >=20 > I think that this could be achived with a few lines of code, but I am=20 > somewhat new to customize emacs with elisp (havent done anything yet),=20 > so could you please give me a hint or point me where to look. >=20 > Thanks in advance, > Christian from Germany Hi Christian, it *might* be as easy as fetching the file `utf8.def' from a ctan=20 server and putting it in your personal `texmf' dir (say,=20 `~/texmf') to teach LaTeX UTF-8. As for the conversion of your files, I have no better idea than=20 some replace-string sessions. There is a tool called `recode',=20 but I have no experience with it. Also, have a look at `Input Methods' in the Emacs info manual. Hope this is of some use, have fun ----Daniel --=20 Daniel Rubin daniel warum-ada de