-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 06.04.2010 19:34, schrieb Roberto Alsina:
> 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

The LaTeX writer doesn't handle such nodes, though.

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAku7co0ACgkQN9GcIYhpnLBIrQCgh4h6KE5pcfZnvjs/UcbI73Z7
47kAnitOLYdoS2NOv88f4SjBdaqtRx1g
=+QRm
-----END PGP SIGNATURE-----

-- 
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