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 <ras...@gmx.us>: > > Joseph Vidal-Rosset <joseph.vidal.ros...@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.