From mboxrd@z Thu Jan 1 00:00:00 1970 From: Senthil Kumar M Subject: Re: LaTeX minted --shell-escape error after updating to 8.0.3 Date: Mon, 27 May 2013 13:46:26 -0700 Message-ID: References: <87obbyme9z.fsf@pierrot.dokosmarshall.org> <87k3mkmb3w.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh4JK-0004cr-G6 for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uh4JH-0001UM-Cm for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:46:30 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:38341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh4JH-0001U9-6H for emacs-orgmode@gnu.org; Mon, 27 May 2013 16:46:27 -0400 Received: by mail-pd0-f174.google.com with SMTP id 3so5085798pdj.33 for ; Mon, 27 May 2013 13:46:26 -0700 (PDT) In-Reply-To: <87k3mkmb3w.fsf@pierrot.dokosmarshall.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: emacs-orgmode@gnu.org On Mon, May 27, 2013 at 1:17 PM, Nick Dokos wrote: > 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? Yes. > >> 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 > > If I run "pdflatex --shell-escape foo.tex" on the terminal, it gives the same result (i.e. no colour highlighting). While writing this reply, I saw the email from Suvayu Ali, about changing org-export-latex-listings to org-latex-listings. That solved this issue! Thank you, Sincerely, Senthil