From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramon Diaz-Uriarte Subject: Re: problem of accents with pdflatex export Date: Sun, 29 Dec 2013 11:59:25 +0100 Message-ID: <87iou72a9e.fsf@gmail.com> References: <84a9fk4fpm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxE5n-0003Rd-7B for emacs-orgmode@gnu.org; Sun, 29 Dec 2013 05:59:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxE5i-00049A-Ce for emacs-orgmode@gnu.org; Sun, 29 Dec 2013 05:59:35 -0500 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:43623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxE5i-000494-5i for emacs-orgmode@gnu.org; Sun, 29 Dec 2013 05:59:30 -0500 Received: by mail-we0-f169.google.com with SMTP id w61so9493997wes.28 for ; Sun, 29 Dec 2013 02:59:28 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Joseph Vidal-Rosset Cc: Andrea Rossetti , emacs-orgmode list Dear Joseph, One minor suggestion: before exporting/texing you can play around with the encoding used to save the file by doing C-x RET f and then specify the one you want (with tab completion as usual). You can see which one (among utf-8, or the several iso, etc) works for you before fixing them in the head line as suggested by Andrea. In my case (which I guess could be similar to yours in terms of types of accents, ñ, etc), I use iso-8859-15. Best, R. On Sun, 29-12-2013, at 07:05, joseph.vidal.rosset@gmail.com wrote: > Many thanks Andrea, you are indeed very kind to try to help me when > everything works fine in your configuration by default. > > My OS is Debian (testing) GNU Linux and I'm working with emacs-snapshot. > > In fact I have realized that this problem of accents appears only with > Gnome pdf viewer immediately open after C-e l-o . There is no problem when > I compile after directly to pdflatex the latex file produced with the org > file. Therefore it is a minor bug or a minor problem. > > But I meet several difficulties with my tentative of transition from > writing .tex files to .org files instead. Therefore I am going to write an > email to this list of very kind and helpful people. > > Best wishes , > > Jo. > > > 2013/12/29 Andrea Rossetti > >> >> Joseph Vidal-Rosset writes: >> > ... Is it a way to automatically save the .org >> > file in utf8 ? In my emacs the encoding is utf8 by default. >> > >> >> Sorry, I never customized file-coding-system-alist >> and related variables, defaults worked well for me, so >> unfortunately I don't have good hints... but please note >> that in my simple environment (Win7 + Emacs 24.3 + Org 8.2.2-elpa >> + nearly zero customizations) I can export org to PDF with >> àèìòù (Italian) without any need to specify encodings, it >> just worked out-of-the-box. >> >> I would suggest to investigate in these directions: >> >> 1) try to see what happens without customizations >> (maybe by running "emacs -Q") >> >> 2) try to force utf8 on that specific org file, by saying in >> the head line: >> # -*- mode:org; ....your settings...; coding:utf-8 -*- >> >> 3) or alternatively: >> # -*- mode:org; ....your settings...; coding:iso-8859-1 -*- >> >> Kindest regards, >> >> Andrea >> >> -- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-25 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02@gmail.com ramon.diaz@iib.uam.es http://ligarto.org/rdiaz