Currently, when exporting to odt, docutils SVN generates 'code' directive contents twice.
The attached patch does something horrible:
- it only uses the pygmented stuff coming from the odf_odt transformer
- while fixing it (it generated xml with an 'ns0' namespace)
Instead of using the already parsed stuff.
So yes, it's possibly the wrong way of doing it.
But I had troubles with the other one.
Maybe someone else will fix it in a prettier fashion...