From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: =?UTF-8?B?UmU6IHByb2Jsw6htZXMgZCdhY2NlbnRz?= Date: Tue, 12 Aug 2014 13:24:03 +0200 Message-ID: <20140812112403.GD2282@chitra.no-ip.org> References: <87ppg6hgnx.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHABV-0006Hd-T3 for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHABU-00038q-14 for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:24:09 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:53832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHABT-00038f-QH for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:24:07 -0400 Received: by mail-wi0-f171.google.com with SMTP id hi2so5674933wib.10 for ; Tue, 12 Aug 2014 04:24:06 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by mx.google.com with ESMTPSA id d2sm55180170wiy.13.2014.08.12.04.24.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Aug 2014 04:24:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: emacs-orgmode@gnu.org 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 : > > Joseph Vidal-Rosset 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.