On Tuesday 06 April 2010 14:18:57 Georg Brandl wrote: > What Pygments does is also very output-format specific.
And doesn't need to. Here's a version of the code block directive, that's not output-format specific, if the writer can handle inline nodes with classes it should work, because all it does is generate a literal_block of class "code" and add styled text fragments in it. http://code.google.com/p/rst2pdf/source/browse/trunk/rst2pdf/pygments_code_block_directive.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.
