From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: =?UTF-8?B?UmU6IHByb2Jsw6htZXMgZCdhY2NlbnRz?= Date: Tue, 12 Aug 2014 13:38:07 +0200 Message-ID: References: <87ppg6hgnx.fsf@gmx.us> <20140812112403.GD2282@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113637d037f60605006d1c0d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAPO-0001M6-O2 for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHAPN-0007iq-J3 for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:38:30 -0400 Received: from mail-vc0-x233.google.com ([2607:f8b0:400c:c03::233]:41927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAPN-0007ie-DA for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 07:38:29 -0400 Received: by mail-vc0-f179.google.com with SMTP id hq11so13128677vcb.38 for ; Tue, 12 Aug 2014 04:38:28 -0700 (PDT) In-Reply-To: <20140812112403.GD2282@chitra.no-ip.org> 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: Suvayu Ali Cc: "Liste-emacs-orgmode@gnu.org" --001a113637d037f60605006d1c0d Content-Type: text/plain; charset=UTF-8 Hello Ali, 2014-08-12 13:24 GMT+02:00 Suvayu Ali : > > 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. --001a113637d037f60605006d1c0d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 !
=C2=A0

> But I am happy to tell you that I have understood this morning the cau= se of
> my problem. I had in my init.el =C2=A0the 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
> =C2=A0 =C2=A0 =C2=A0'("xelatex -shell-escape -interaction non= stopmode -output-directory %o %f"))

Why do you think this is dangerous? =C2=A0Because of the `-shell-esca= pe'?
Without it you will not get source code highlighting (with minted).
Also -shell-escape is not as dangerous as it seems. =C2=A0It 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 repr= oduced the code and its comment from somewhere in the internet. I am not ex= pert enough to say if it is dangerous or not.
=C2=A0I just note that the= deactivation of this code in my init.el solves the problem of French accen= ts.
Unfortunately, I have to forget the highlighting code with minted. I had al= so some problem with minted, and it seems that things work better with a mo= re thin=C2=A0 init.el ...

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

Best wishes

Jo.=C2=A0

--001a113637d037f60605006d1c0d--