From: David G. <go...@py...> - 2002-11-08 23:12:30
|
Fred L. Drake, Jr. wrote: > 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? What's the distinction? Actually, the Docutils component that Oliver wrote produces ordinary .ht intermediate files: RFC822 headers plus regular HTML. It's an ht2html "Writer". The way it's written now, one would have to run Docutils and then ht2html. It would almost require a Makefile. Not ideal. But it should be easy to make an ht2html "Reader" (Docutils code calls ht2html) or a generator module for ht2html (which would call Docutils code). One of these days I'd like to actually *use* ht2html, and dig through the code; then I'll have a better idea of which side should be "in control". > I'm sure either could be done, but using .ht files with reST for the > body would be the easier of the two. Yes, they would look *exactly* like reStructuredText PEP source files. -- David Goodger <go...@py...> Open-source projects: - Python Docutils: http://docutils.sourceforge.net/ (includes reStructuredText: http://docutils.sf.net/rst.html) - The Go Tools Project: http://gotools.sourceforge.net/ |