According to minted
documentation:
Windows support is sketchy / untested at the moment. There are two
complications: installation and usage…….
This question seeks a step by step elaboration of
How to setup minted
for use with MikTeX under Windows?
Best Answer
minted
uses Pythonpygments
library, so you need to:Python
, choose any version you like:x64
orx86
, it better to choose2.7.5
version.Python
toPATH
:Advanced System Settings
.Environment Variables
.;C:\Python27
to thePATH
variable.python-pip
.;C:\Python27\Scripts
to thePATH
variable.pip install pygments
to installPygments
(in case you havePerl
installed, the full path topip
should be specified, becausePerl
also has a binary with the same name).Сompile with
-shell-escape
option enabled:The result should look like: