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. > > ) > \minted@bgbox=\box61 > \minted@code=\write6 > \@float@every@listing=\toks51 > \c@listing=\count166 > ) > > ! 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.