emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ramon Diaz-Uriarte <rdiaz02@gmail.com>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: Andrea Rossetti <andrea.rossetti@gmail.com>,
	emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: problem of accents with pdflatex export
Date: Sun, 29 Dec 2013 11:59:25 +0100	[thread overview]
Message-ID: <87iou72a9e.fsf@gmail.com> (raw)
In-Reply-To: <CAD-VTcGA_-w=ROGqeLB3nped+HAUnf+cB0qhDesPkurQjTu0Pg@mail.gmail.com>

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 <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.
>> >
>>
>>   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

  reply	other threads:[~2013-12-29 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 15:09 problem of accents with pdflatex export Joseph Vidal-Rosset
2013-12-27 19:27 ` Nick Dokos
2013-12-27 20:15 ` Andrea Rossetti
2013-12-28 18:07   ` Joseph Vidal-Rosset
2013-12-29  1:18     ` Andrea Rossetti
2013-12-29  6:05       ` Joseph Vidal-Rosset
2013-12-29 10:59         ` Ramon Diaz-Uriarte [this message]
2013-12-30 12:45           ` Joseph Vidal-Rosset

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iou72a9e.fsf@gmail.com \
    --to=rdiaz02@gmail.com \
    --cc=andrea.rossetti@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).