[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Source Code Syntax Highlighting in Beamer slides
From: |
Suvayu Ali |
Subject: |
Re: [O] Source Code Syntax Highlighting in Beamer slides |
Date: |
Sun, 21 Apr 2013 23:08:00 +0200 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
Hi Alexander,
On Sun, Apr 21, 2013 at 09:25:55PM +0200, Alexander Baier wrote:
>
> I am trying to syntax-color the code in my source blocks that is
> exported to LaTeX. As proposed in this thread [1] over a year ago I
> followed this guide [2], but could not get the generated .tex file to
> compile.
[...chomp...chomp...chomp...]
> Package ifplatform Warning:
> shell escape is disabled, so I can only detect \ifwindows.
>
> )
> address@hidden
> address@hidden
> address@hidden@address@hidden
> address@hidden
> )
>
> ! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
>
> See the minted package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.20 \usetheme
> {default}
> Pass the -shell-escape flag to LaTeX. Refer to the minted.sty documentation
> for
> more information.
>
> runsystem(which pygmentize && touch output.aex)...disabled (restricted).
>
>
> ! Package minted Error: You must have `pygmentize' installed to use this
> packag
> e.
>
> See the minted package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.20 \usetheme
> {default}
> Refer to the installation instructions in the minted documentation for more
> inf
> ormation.
[...chomp...chomp...chomp...]
> runsystem(pygmentize -S default -f latex > output.pyg)...disabled
> (restricted).
>
>
>
> ! LaTeX Error: File `output.pyg' not found.
>
> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: pyg)
Not sure why, but your -shell-escape option is being ignored. Untill
you can solve this properly, maybe you can put the LaTeX calls in a
shell script and set that as your org-latex-pdf-process.
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
Re: [O] Source Code Syntax Highlighting in Beamer slides, Alexander Baier, 2013/04/21