emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Senthil Kumar M <senthil.debian@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX minted --shell-escape error after updating to 8.0.3
Date: Mon, 27 May 2013 13:46:26 -0700	[thread overview]
Message-ID: <CAG+C5iu2VMLaheyYKUb9WFKMffY_vmazb4jQwA9V2XRc_cazmQ@mail.gmail.com> (raw)
In-Reply-To: <87k3mkmb3w.fsf@pierrot.dokosmarshall.org>

On Mon, May 27, 2013 at 1:17 PM, Nick Dokos <ndokos@gmail.com> wrote:
> Senthil Kumar M <senthil.debian@gmail.com> 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

  parent reply	other threads:[~2013-05-27 20:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-26  1:53 LaTeX minted --shell-escape error after updating to 8.0.3 Senthil Kumar M
2013-05-26  6:44 ` Nick Dokos
2013-05-27 19:31   ` Senthil Kumar M
2013-05-27 20:17     ` Nick Dokos
2013-05-27 20:40       ` Suvayu Ali
2013-05-27 20:46       ` Senthil Kumar M [this message]
2013-05-27 22:16         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG+C5iu2VMLaheyYKUb9WFKMffY_vmazb4jQwA9V2XRc_cazmQ@mail.gmail.com \
    --to=senthil.debian@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).