all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problèmes d'accents
@ 2014-08-11  9:43 Joseph Vidal-Rosset
  2014-08-11 21:15 ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph Vidal-Rosset @ 2014-08-11  9:43 UTC (permalink / raw)
  To: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

Hello everybody,


The topic of my message is intentionally in French.

I meet a problem the French accents are not directly exported in the pdf
when I C-c C-l-o . This problem disappears when I compile the .tex file
exported from the org file.

If someone can help, thanks. It is not a serious problem, but only a new
small one.

Best

Jo.

[-- Attachment #2: Type: text/html, Size: 444 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problèmes d'accents
  2014-08-11  9:43 problèmes d'accents Joseph Vidal-Rosset
@ 2014-08-11 21:15 ` Rasmus
  2014-08-12  5:36   ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2014-08-11 21:15 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:

> The topic of my message is intentionally in French.
>
> I meet a problem the French accents are not directly exported in the pdf
> when I C-c C-l-o . This problem disappears when I compile the .tex file
> exported from the org file.

C-c C-l exists.  C-c C-l o makes no sense.

> If someone can help, thanks. It is not a serious problem, but only a new
> small one.

Please give an example and report the output of M-x org-version.

—Rasmus

-- 
What will be next?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problèmes d'accents
  2014-08-11 21:15 ` Rasmus
@ 2014-08-12  5:36   ` Joseph Vidal-Rosset
  2014-08-12 11:24     ` Suvayu Ali
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph Vidal-Rosset @ 2014-08-12  5:36 UTC (permalink / raw)
  To: Rasmus; +Cc: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

Hi Rasmus,  hello the list,

2014-08-11 23:15 GMT+02:00 Rasmus <rasmus@gmx.us>:

> Hi,
>
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>
> > The topic of my message is intentionally in French.
> >
> > I meet a problem the French accents are not directly exported in the pdf
> > when I C-c C-l-o . This problem disappears when I compile the .tex file
> > exported from the org file.
>
> C-c C-l exists.  C-c C-l o makes no sense.
>

Sorry, I meant C-e followed by l-o  (LateX file + pdf)

Please, tell me how to express this action correctly in emacs dialect.


>
> > If someone can help, thanks. It is not a serious problem, but only a new
> > small one.
>
> Please give an example and report the output of M-x org-version
>

Org-mode version 8.2.7c (8.2.7c-1-gf5065b-elpaplus @
/home/joseph/.emacs.d/elpa/org-plus-contrib-20140804/)

But I am happy to tell you that I have understood this morning the cause of
my problem. I had in my init.el  the following dangerous lines:

;; Let the exporter use the -shell-escape option to let latex
;; execute external programs.
;; This obviously and can be dangerous to activate!
(setq org-latex-pdf-process
     '("xelatex -shell-escape -interaction nonstopmode -output-directory %o
%f"))

Deactivated, all works smoothly now.

Best wishes,

Jo.

[-- Attachment #2: Type: text/html, Size: 2388 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problèmes d'accents
  2014-08-12  5:36   ` Joseph Vidal-Rosset
@ 2014-08-12 11:24     ` Suvayu Ali
  2014-08-12 11:38       ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 6+ messages in thread
From: Suvayu Ali @ 2014-08-12 11:24 UTC (permalink / raw)
  To: emacs-orgmode

Hello Joseph,

On Tue, Aug 12, 2014 at 07:36:05AM +0200, Joseph Vidal-Rosset wrote:
> 2014-08-11 23:15 GMT+02:00 Rasmus <rasmus@gmx.us>:
> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> >
> > > The topic of my message is intentionally in French.
> > >
> > > I meet a problem the French accents are not directly exported in the pdf
> > > when I C-c C-l-o . This problem disappears when I compile the .tex file
> > > exported from the org file.
> >
> > C-c C-l exists.  C-c C-l o makes no sense.
> >
> 
> Sorry, I meant C-e followed by l-o  (LateX file + pdf)
> 
> Please, tell me how to express this action correctly in emacs dialect.

That would be `C-c C-e l o'.

> But I am happy to tell you that I have understood this morning the cause of
> my problem. I had in my init.el  the following dangerous lines:
> 
> ;; Let the exporter use the -shell-escape option to let latex
> ;; execute external programs.
> ;; This obviously and can be dangerous to activate!
> (setq org-latex-pdf-process
>      '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))

Why do you think this is dangerous?  Because of the `-shell-escape'?
Without it you will not get source code highlighting (with minted).
Also -shell-escape is not as dangerous as it seems.  It can be only if
somehow you have a malicious/buggy package in your texlive installation,
and you happen to use in your TeX source.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problèmes d'accents
  2014-08-12 11:24     ` Suvayu Ali
@ 2014-08-12 11:38       ` Joseph Vidal-Rosset
  2014-08-12 11:47         ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph Vidal-Rosset @ 2014-08-12 11:38 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]

Hello Ali,

2014-08-12 13:24 GMT+02:00 Suvayu Ali <fatkasuvayu+linux@gmail.com>:

> > Please, tell me how to express this action correctly in emacs dialect.
>
> That would be `C-c C-e l o'.
>

Thanks !


>
> > But I am happy to tell you that I have understood this morning the cause
> of
> > my problem. I had in my init.el  the following dangerous lines:
> >
> > ;; Let the exporter use the -shell-escape option to let latex
> > ;; execute external programs.
> > ;; This obviously and can be dangerous to activate!
> > (setq org-latex-pdf-process
> >      '("xelatex -shell-escape -interaction nonstopmode -output-directory
> %o %f"))
>
> Why do you think this is dangerous?  Because of the `-shell-escape'?
> Without it you will not get source code highlighting (with minted).
> Also -shell-escape is not as dangerous as it seems.  It can be only if
> somehow you have a malicious/buggy package in your texlive installation,
> and you happen to use in your TeX source.
>

:) I have only reproduced the code and its comment from somewhere in the
internet. I am not expert enough to say if it is dangerous or not.
 I just note that the deactivation of this code in my init.el solves the
problem of French accents.
Unfortunately, I have to forget the highlighting code with minted. I had
also some problem with minted, and it seems that things work better with a
more thin  init.el ...

I'm using texlive with Xubuntu at the moment , and it is true that I did
not meet this problem under Debian testing, so, there is maybe a bug
somewhere in the texlive packages of Ubuntu  or Debian sid servers... it is
an unwelcome "troll" ;)

Best wishes

Jo.

[-- Attachment #2: Type: text/html, Size: 2467 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problèmes d'accents
  2014-08-12 11:38       ` Joseph Vidal-Rosset
@ 2014-08-12 11:47         ` Joseph Vidal-Rosset
  0 siblings, 0 replies; 6+ messages in thread
From: Joseph Vidal-Rosset @ 2014-08-12 11:47 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

2014-08-12 13:38 GMT+02:00 Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com>:

> Unfortunately, I have to forget the highlighting code with minted.



I add that, without minted, the source code between

#+BEGIN_SRC latex

#+END_SRC

is correctly highlighted . I regret that it is not in org-mode for all
formulas which are not between

#+BEGIN_SRC latex

#+END_SRC

like for example

\begin{equation}
A \to B
\end{equation}

I do not know if there is a solution.

Best

Jo.

[-- Attachment #2: Type: text/html, Size: 1171 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-12 11:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11  9:43 problèmes d'accents Joseph Vidal-Rosset
2014-08-11 21:15 ` Rasmus
2014-08-12  5:36   ` Joseph Vidal-Rosset
2014-08-12 11:24     ` Suvayu Ali
2014-08-12 11:38       ` Joseph Vidal-Rosset
2014-08-12 11:47         ` Joseph Vidal-Rosset

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.