From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: problem of accents with pdflatex export
Date: Fri, 27 Dec 2013 14:27:12 -0500 [thread overview]
Message-ID: <877gaqt7qn.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: CAD-VTcE4QhLMQDuTZkEiiuQiEHuW4Q3KLL-ObEFfNm3fMF1MxA@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> Hello,
>
> I do not succeed to solve this problem of accent with pdflatex :
>
> in my org-mode file I have this code :
>
> # -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*-
> #+TITLE: Mon premier document en org-mode
> #+AUTHOR: Joseph Vidal-Rosset
> #+OPTIONS: LaTeX:t
> #+LATEX_CLASS: koma-article
> #+LATEX_HEADER: \usepackage[T1]{fontenc}
> #+LATEX_HEADER: \usepackage[utf8]{inputenc}
Unless you've done massive customizations of things like
org-latex-default-packages-alist, you don't need the fontenc/inputenc
packages: they are included automatically.
> #+LANGUAGE: fr
> #+LaTeX_HEADER: \usepackage[french]{babel}
> #+HTML_MATHJAX: align:"left" mathml:t path:"/MathJax/MathJax.js"
> #+OPTIONS: tex:imagemagick
>
> * Introduction...
> à voir
>
> the export with pdflatex does not succeed to save the letter "à " :
> every letter with French accent is given up in the pdf file. Why ?
>
I had no trouble exporting this, after adding a koma-article-class
definition to org-latex-classes:
--8<---------------cut here---------------start------------->8---
(setq koma-article-class
'("koma-article" "\\documentclass[11pt]{scrartcl}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
(add-to-list 'org-latex-classes koma-article-class t)
--8<---------------cut here---------------end--------------->8---
and deleting the various #xa0 NO-BREAK SPACE characters which caused
LaTeX errors (these are displayed as light blue underscores in my
buffer).
The resulting PDF is attached and looks fine.
[-- Attachment #2: accents --]
[-- Type: application/pdf, Size: 65148 bytes --]
[-- Attachment #3: Type: text/plain, Size: 112 bytes --]
Nick
> It works fine with html export...
>
> French users and others, in advance, thanks for your help !
>
next prev parent reply other threads:[~2013-12-27 19:27 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 [this message]
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
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=877gaqt7qn.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).