The pygments library is an alternative for highlighting sourcecode: http://pygments.org/. It is also written in python so it might be possible to call the library directly from w2b easily. Current workaround is to use the minted package: http://tug.ctan.org/tex-archive/macros/latex/contrib/minted/ and simply include the minted commands in the w2b file. An example of such usage is in: https://github.com/esc/best-practices-talk
Log in to post a comment.