Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-04 17:22:43

Christopher Currie wrote:
>Reece Dunn wrote:
> > It will end up being a replacement for boostbook/xsl/html-single.xsl
>once I
> > have it completed, so you could try renaming that file then change my
> > stylesheet to html-single.xsl, although I haven't tested this approach.
>Just did that; what's attached is what your stylesheet generates. It
>looks like it still needs some work (but then so does my docbook),
>apparently each chapter is being tagged as a separate <html> element. It

I was using boost/tools/boostbook/doc/boostbook.xml to create the basic
stylesheet. I shall go ahead and clean it up, posting what I come up with.

>also doesn't generate well-formed xhtml, as there's no <?xml?> directive

That should be easy to rectify

>or <!DOCTYPE> declaration (both problems shared with the original
>html-single.xml, which seems to be related to an old version of the
>docbook-xsl package).

This may be trickier; I'll look into it.

>There's defintely neat style things going on with your stylesheet;
><programlisting> is clearly separated from text, (although <screen> is
>being missed), and chapter and section headings have good contrast.

Thanks :).

>I think the consensus is (and I agree) that whatever stylesheet we go
>with should generate a TOC page, and have separate pages for each
>section, the way the current html.xsl does. Some folks have mentioned
>the Spirit docs, of which I'm also a fan, but I'm not sure how
>complicated it will be to mimic their template.

I'll see what I can come up with.

>Thanks for your help! I'll need an XSLT guru to help make this all happen.

No problem.


Use MSN Messenger to send music and pics to your friends


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at