> It is not that we need to generate our info in a particular format. It > is that we need to be able to format our info. Very different.
Yes. You store your data with a meaningful structural markup like DocBook. Then you can control *presentation* details to your heart's content with XSLT crap. > >The answer to *that* question I believe is the wonderful and much > >beloved DocBook XML with xsltproc (XML-FO) converters. > > DocBook will not let us control the lay out like we need to. It is for > marking up content. We need content markup AND style/presentation. Can > you apply CSS to docbook? > I think you would need an XSLT or something to > turn it into XHTML and apply CSS to that. XSLT specifies presentation details. This is what CSS does too. One could generate XHTML *and* CSS from DocBook XML and XSLT specs. The whole terminology around > document processing is overwhelming me. The XML-FO might be the way to > go if I can find a way to convert it into PDF/PS. DocBook XML for content XSLT for presentation Create XML-FO and then run a converter that converts XML-FO to whatever want such as PDF, HTML, POD, man pages, etc. Yes you can convert XML-FO to PDF. I know because I've done it. IIRC, The solution involves software from the Apache Foundation and some Java stuff. You'll want to run an app called xsltproc. This site looks informative... http://www.boost.org/doc/html/boostbook/setup/manual.html If you're still stuck later just get back to me and I can dig up my notes on XML-FO->PDF conversion. (I wrote a script but I'm not at that PC right now. :) Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
