From: Andreas J. <an...@an...> - 2002-11-05 20:35:25
|
--On Dienstag, 5. November 2002 00:20 -0500 David Goodger <go...@us...> wrote: > > Yes. Look at the docutils/writers/html4css1.py module's Writer class. > In the "translate" method, it copies several attributes from its > "visitor" (HTMLTranslator object), from "head_prefix" to > "body_suffix". These are pieces of HTML that may or may not be broken > up the way you want. See Ollie Rutherfurd's Writer for ht2html for an > example: http://docutils.sf.net/sandbox/oliverr/ht/hthtml.py . > Meanwhile I resolved the problems with a derived Writer class (from html4css1). Zope btw. now supports reSTX both inside DTML and with Richards reSTX product. Andreas --------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - --------------------------------------------------------------------- |