I'm trying to type up some notes that include some commands on a Linux course I'm taking so I thought of loadign minted
in the preamble of my tex document. To my great surprise it seems there isn't any support for linux/unix language. I carefully scrolled through the output of
$ pygmentize -L lexers
but no linux is there. Any way to get around this problem? I'm on a Win7 OS with Texlive 2015, AUCTeX editor.
This gives error:
\begin{minted}{latex}
sysadmin@localhost:~$ cat /etc/updatedb.conf
\end{minted}
Best Answer
This answer is just another repeat of the comments above.
The minted package does highlight shell languages.
It does not show a lot on your input, though, as you are not using any shell constructs, but a POSIX program.
As always, compile with
pdflatex -shell-escape <myFile>.tex
.The output
The code