From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX minted --shell-escape error after updating to 8.0.3 Date: Sun, 26 May 2013 02:44:08 -0400 Message-ID: <87obbyme9z.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgUgt-0005rN-98 for emacs-orgmode@gnu.org; Sun, 26 May 2013 02:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgUgn-0006HR-Kw for emacs-orgmode@gnu.org; Sun, 26 May 2013 02:44:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:47836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgUgn-0006HE-Et for emacs-orgmode@gnu.org; Sun, 26 May 2013 02:44:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgUgm-0001Rz-0j for emacs-orgmode@gnu.org; Sun, 26 May 2013 08:44:20 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 May 2013 08:44:20 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 May 2013 08:44:20 +0200 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 Senthil Kumar M writes: > I updated org-mode to 8.0.3 (release_8.0.3-156-g847637). I got the > following error while using the LaTeX export, before the update all > was well and the PDF file was produced fine. > > "Process completed with errors: [LaTeX error] [package error] > > *Org PDF LaTeX Output* shows: > > ... > ... > > Package ifplatform Warning: > shell escape is disabled, so I can only detect \ifwindows. > > )) > > ! Package minted Error: You must invoke LaTeX with the -shell-escape flag. > > See the minted package documentation for explanation. > Type H for immediate help. > ... > > l.21 \usemintedstyle > {autumn} > > ! Package minted Error: You must have `pygmentize' installed to use this packag > e. > > See the minted package documentation for explanation. > Type H for immediate help. > ... > ... > > > I have not changed any settings in my .emacs file (i.e.: (setq > org-export-latex-listings 'minted) is unchanged) and I never faced any > problems related to the `--shell-escape' before the update. pygmentize > is present in /usr/bin/ and it too worked perfectly before the update. > Well, you must have done something before to get around this problem. My guess would be that you have customized the old org-latex-to-pdf-process variable. The problem is that in 8.x, the variable has been renamed to org-latex-pdf-process, so you need to do to the new variable what you did to the old. E.g. the default setting of this variable is three pdflatex calls: ,---- | ("pdflatex -interaction nonstopmode -output-directory %o %f" | "pdflatex -interaction nonstopmode -output-directory %o %f" | "pdflatex -interaction nonstopmode -output-directory %o %f") `---- You'd need to add --shell-escape to each one. -- Nick