From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: How to translate LaTeX into UTF-8 in Elisp? Date: Thu, 08 Dec 2016 20:13:32 +0100 Message-ID: <87pol2fd43.fsf@mbork.pl> References: <87shpyfj2q.fsf@mbork.pl> <874m2e1dum.fsf@pippiandcarlos.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481224451 18119 195.159.176.226 (8 Dec 2016 19:14:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 19:14:11 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 26.0.50.1 Cc: Help Gnu Emacs mailing list To: Carlos Konstanski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 08 20:14:04 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF48p-0003I9-HU for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 20:14:03 +0100 Original-Received: from localhost ([::1]:48370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF48t-0001Gw-9R for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 14:14:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF48T-0001FS-Ru for help-gnu-emacs@gnu.org; Thu, 08 Dec 2016 14:13:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF48Q-0002nf-M2 for help-gnu-emacs@gnu.org; Thu, 08 Dec 2016 14:13:41 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:54183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF48Q-0002nU-Ex for help-gnu-emacs@gnu.org; Thu, 08 Dec 2016 14:13:38 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 86765E668A; Thu, 8 Dec 2016 20:13:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZsMXQfqp7-o7; Thu, 8 Dec 2016 20:13:34 +0100 (CET) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 47679E667E; Thu, 8 Dec 2016 20:13:34 +0100 (CET) In-reply-to: <874m2e1dum.fsf@pippiandcarlos.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111899 Archived-At: On 2016-12-08, at 19:21, Carlos Konstanski wrote: > This is not an answer to your question, but rather an alternative way to > use non-ASCII chars in a tex file: > > \usepackage[german]{babel} > \usepackage[T1]{fontenc} > \usepackage[utf8]{inputenc} > > (Replace "german" with the language of your choice) I am aware of such solutions, however - as you noted - they solve a different problem. What I have is not a (La)TeX file - it is an UTF-8 encoded XML file with data pulled from LaTeX files (hence my problem). Best, -- Marcin Borkowski