From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: problem of accents with pdflatex export Date: Mon, 30 Dec 2013 13:45:35 +0100 Message-ID: References: <84a9fk4fpm.fsf@gmail.com> <87iou72a9e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1b73a23b64204eebfd355 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxcEI-0008Bx-4N for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 07:45:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxcEG-00060N-Gb for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 07:45:58 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:33615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxcEG-00060D-64 for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 07:45:56 -0500 Received: by mail-wg0-f42.google.com with SMTP id a1so14026395wgh.1 for ; Mon, 30 Dec 2013 04:45:55 -0800 (PST) In-Reply-To: <87iou72a9e.fsf@gmail.com> 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: Ramon Diaz-Uriarte Cc: Andrea Rossetti , emacs-orgmode list --001a11c1b73a23b64204eebfd355 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear Ramon, Many thanks for your help. It seems that my problem was not really serious. Best wishes, and, soon, happy new year ! Jo. 2013/12/29 Ramon Diaz-Uriarte > Dear Joseph, > > One minor suggestion: before exporting/texing you can play around with th= e > 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 yo= u > 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, = =C3=B1, > 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 o= rg > > 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 writ= e > 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 > >> =C3=A0=C3=A8=C3=AC=C3=B2=C3=B9 (Italian) without any need to specify e= ncodings, 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=C3=B3noma 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 > > > > --001a11c1b73a23b64204eebfd355 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear Ramon,=C2=A0

Many thanks for your = help. It seems that my problem was not really serious.=C2=A0

=
Best wishes, and, soon, happy new year !

Jo.


2013/12= /29 Ramon Diaz-Uriarte <rdiaz02@gmail.com>
Dear Joseph,

One minor suggestion: before exporting/texing you can play around with the<= br> 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<= br> 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, =C3= =B1,
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-sna= pshot.
>
> 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 =C2=A0.tex files to .org files instead. Therefore I am going t= o write an
> email to this list of very kind and helpful people.
>
> Best wishes ,
>
> Jo.
>
>
> 2013/12/29 Andrea Rossetti <andrea.rossetti@gmail.com>
>
>>
>> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>> > ... Is it a way to automatically save the .org
>> > file in utf8 ? In my emacs the encoding is utf8 by default. >> >
>>
>> =C2=A0 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<= br> >> + nearly zero customizations) I can export org to PDF with
>> =C3=A0=C3=A8=C3=AC=C3=B2=C3=B9 (Italian) without any need to speci= fy encodings, it
>> just worked out-of-the-box.
>>
>> I would suggest to investigate in these directions:
>>
>> 1) try to see what happens without customizations
>> =C2=A0 =C2=A0(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 -*-
>>
>> =C2=A0 Kindest regards,
>>
>> =C2=A0 =C2=A0 =C2=A0 Andrea
>>
>>

--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Aut=C3=B3noma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02@gmail.com
=C2=A0 =C2=A0 =C2=A0 =C2=A0ramon.d= iaz@iib.uam.es

http://ligarto.org/r= diaz




--001a11c1b73a23b64204eebfd355--