I am planning to write a technical article which will contain text, figures, pseudocode (algorithm) and actual code snippets. My main concern is the Code snippet part and I want really want good syntax highlighting.
I would prefer the output to be PDF format, not HTML.
I am comfortable with LaTeX. I've heard about Sphinx, Pygments too.
Which tool would you prefer?
Pygments seems to be a really nice tool to me and it has syntax highlighting that i need. I tried some code online. But I don't know if Pygments can be combined with LaTeX. If possible, then I would definitely use it, since I am comfortable with LaTeX.