From: Peter M. <pe...@mo...> - 2010-01-16 00:40:00
|
The html4css1 Writer class has an attribute supported = ('html', 'html4css1', 'xhtml'). The latex2e writer has supported = ('latex','latex2e'), newlatex has supported = ('newlatex', 'newlatex2e') and manpage has supported = ( ('manpage' ) [ shouldn't that be ('manpage',)?] Anyway it seems as is if 'html' in writer.supported: ....... is the way to go. But pep_html has no 'supported' attribute at all and nor does s5_html. And the odf_odt writer has supported = ('html', 'html4css1', 'xhtml') same as html4css1. Are these bugs/omissions or is 'supported' no longer, er, supported? Thanks, Peter |