From: Fred L. D. Jr. <fd...@ac...> - 2002-11-08 22:28:35
|
David Goodger writes: > I agree. There has been some interest in integrating the two recently. > Oliver Rutherfurd has written a preliminary Writer component for .ht output: > http://docutils.sourceforge.net/sandbox/oliverr/ht/ Cool! > I think this is a roundabout way of doing the job. Please take a look at > the link above. It produces real .ht files, with the title in the RFC822 > header. The encoding could go there too (assuming it's ASCII-compatible). > I don't know how encoding-friendly ht2html is. I doubt it is, but it could be made more so. > Ideally, I'd like to see a system which programmatically controls both > Docutils and ht2html, so that intermediate files don't have to be created. > I haven't looked into the ht2html code enough yet to know if this is > feasible. Is the goal to have the content portion of .ht files be reST, or to allow HT2HTML to start with reST content to begin with? I'm sure either could be done, but using .ht files with reST for the body would be the easier of the two. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |