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: Mon, 27 May 2013 16:17:07 -0400 Message-ID: <87k3mkmb3w.fsf@pierrot.dokosmarshall.org> References: <87obbyme9z.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh3rF-0000Ip-6N for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:17:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uh3r8-0000qj-3B for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:17:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:49356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh3r7-0000qf-Sq for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:17:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uh3r6-0003SH-QR for emacs-orgmode@gnu.org; Mon, 27 May 2013 22:17: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 ; Mon, 27 May 2013 22:17: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 ; Mon, 27 May 2013 22:17: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: > Nick, thank you. Setting the org-latex-pdf-process variable as you > suggested resolved the LaTeX error during the export step. > > However, the minted syntax colour highlighting does not work as > expected, all python/bash/XML code appear in one colour (black). > Just to make sure: you export to latex, open the resulting PDF file and there is no syntax highlighting? > I had included (setq org-export-latex-listings 'minted) in my .emacs > file and it worked fine before the upgrade to 8.0.3. > > Is there any variable that had changed and need to be set for the > syntax highlighting to work properly? > I don't think so. My guess is that your minted/pygments installation is broken, i.e. nothing to do with org. What happens if you leave org out of the equation altogether? I.e. take a simple tex file using minted and pass it through ``pdflatex --shell-escap''? -- Nick