From: Mark Hubbart Date: 2005-04-15T15:33:03+09:00 Subject: Re: RedCloth, BlueCloth... On 4/14/05, David Mitchell wrote: > On Fri, 15 Apr 2005 09:31:59 +0900, Hal Fulton wrote: > > > ..OldCloth, NewCloth? (Sorry, I went to a Dr. Seuss exhibit > > here in town.) > > > > I want to know what's the best way to manage a file that has > > both text and HTML versions. (Yes, I'm talking about the > > comp.lang.ruby FAQ, which should autopost tomorrow.) > > I realise this is the Ruby newsgroup and it's the Ruby FAQ you're talking > about, but you could maintain a single XML-based version and use XSLT to > extract both text and HTML (and just about any other format you care to > mention) using tools that are on every modern Windows PC or Linux system. ow ow ow. Maybe it's just me, but maintaining a large document like the FAQ in xml seems masochistic, when there are nice human readable formats like markdown or textile around. > Downside - no Ruby required... Actually, I suspect the tools for markdown and textile are more widely available than you think. I know that if I was handed an xml/xslt combo doc, and a markdown doc, I'd have a much better idea of what to do with the markdown one. And I could do it in Ruby, Perl, Python, PHP, or even paste it into a web form, to get the html out. cheers, Mark