On Wednesday 07 April 2010 17:21:37 Guenter Milde wrote:
> >> If LaTex is capable of setting bold, italic, monospaced font and
> >> foreground colour, then a set of such macros could be autogenerated
> >> from the pygment stylesheets (I create rst2pdf's stylesheets that way)
> >> thus allowing the LaTeX writer to process the output of the proposed
> >> codeblock directive.
> 
> This is doable. Alternatively, this could be left to the user (or a
> set of semi-automatically generated sample styles be provided).

I just redo them before each release with the latest pygments.
It's just a short script (of course the latex macro generation would be 
completely different):

http://code.google.com/p/rst2pdf/source/browse/trunk/rst2pdf/pygments2json.py

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to