Pygments in LaTeX

if we get an error when using Minted package in LaTeX, the following link shows how to fix the issue:

To create the pdf file as output of our document, we should use the command line below:

Windows>pdflatex -shell-escape test.tex

To avoid any error when compiling the document source, add [cache=false] on the minted package initialisation.