1

Bonjour ! I want to highlight PovRay code with minted but I don't get any result ! PovRay is in the list of pygments language supported, and I run my file with -enable -write18 in windows vista 64 bit (MiKTeX 2.9). With C,C++,Python,... no problem

Any advice ?

I get error (screenshot):

enter image description here

My MWE

\documentclass[12 pt,a4 paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english,french]{babel}
\usepackage{minted}

\begin{document}


\begin{minted}{POVRay}   

camera { 
location <-3,7,-15>
look_at <0,1,0>
} 

 light_source {
<3,7,-10>
rgb <1,1,0.1>
}
plane {
y
0
pigment {   rgb <1,1,1>}
 }
\end{minted}

\end{document}

1 Answer 1

2

The Pygments lexer list gives pov as the short name for the PovrayLexer. Switching to \begin{minted}{pov}... should give you what you want.

1
  • Thank you, I compile with pov as you have write me without success !
    – Aviroum
    Feb 21, 2016 at 17:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .