|
From: Oliver R. <ol...@ru...> - 2002-10-24 19:16:17
|
----- Original Message ----- From: "David Goodger" <go...@us...> To: "Oliver Rutherfurd" <ol...@ru...> Cc: <doc...@li...> Sent: Thursday, October 24, 2002 12:30 AM Subject: [Docutils-develop] Re: Writer for .ht (HTML Template?) files > Oliver Rutherfurd wrote: > > I've written a Writer for .ht (HTML Template?) files used by ht2html_. > > Cool! I've been thinking of doing something like that for a while. One > reason being that the Docutils home page is too long and boring, and could > use some sprucing up. > > > As this is kind of a specialized writer, I didn't know whether you or anyone > > would have any interest in it for Docutils, so I figured I'd check and see. > > If you don't want it for Docutils proper, I can just plunk it into the > > sandbox. > > I am definitely interested. Ok, great. > We'll have to think about where the best place should be (opinions?). > If we can get the code really bulletproof (could be already; I haven't > looked at it yet and may not get a chance for a couple of days), I don't > see why it can't live in the docutils package. I would love to see a slew > of specialized writers in there, tempting users. As far as the bulletproof part goes, I might have sent a broken version :-(. When I tried it this morning I got an error. I've fixed the break and added stylesheet handling and will upload an updated version into the sandbox as soon as my sf key lets me (just uploaded a key since I seem to need that on windows). > > On an unrelated note, what do you think of adding the front end scripts in > > "tools" as scripts in docutils setup.py file? > > Good idea. But how would that work? Does Distutils put scripts on the > shell's path? Is it cross-platform? (Where does it put scripts on my > ancient Mac?) Good question, so after suggesting it I'm embarrased to say that it might not. I could have sworn that 'Scripts' was in my PATH, but I just checked and it's not. Maybe ActivePython's version does that, but Python.org's installer doesn't? I updated from ActivePython 2.2.1 to Python 2.2.2 and it's not in my PATH now. > > However, if they were installed by default, it might be more intuitive if > > they were named something like rest2html, rest2xml, etc... > > Perhaps, although I'd prefer "rst" to "rest". Opinions? "rst" sounds good. -Ollie ol...@ru... |