Reece Dunn wrote:
> Vladimir Prus wrote:
> >I attach the diff I have here. It's CVS HEAD vs. previous version from
> >Reece
> >-- one that includes new nagivation on top and bottom, but does not fix
> >empty
> >TOC. Okay to commit?
>
> There is an update to docbook-layout that should fix the empty TOC problems
> (although I've only done a partial test).
I've comitted this change. Thanks!
(BTW, I'm really at loss how you did it without a single "if")
I did a little digging into the DocBook XSL:T and found that the TOC was being generated using a template called make.toc called from the section.toc template. This template selected the nodes that were to be used to generate the TOC, including the reference section stuff:
<xsl:with-param name="nodes"
select="section|sect1|sect2|sect3|sect4|sect5|refentry
|bridgehead[$bridgehead.in.toc != 0]"/>I just overrided this template, excluding the refentry stuff from TOC calculation:
<xsl:with-param name="nodes" select="
section|sect1|sect2|sect3|sect4|sect5|
bridgehead[$bridgehead.in.toc != 0]
"/>> I have also made a minor change
> to the boostbook.css in the files section that removes the center-aligned
> text in tables.
There were quite a number of differences from the CVS version, but I've
comitted the changes anyway. Now CVS state should be equal to what's in Files
sections, except for ">" changes.
I don't know what caused the > changes :(. I have been working on updating the CSS for a while, but the changes haven't been comitted, hence the large differences.
Regards, Reece
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Boost-docs mailing list [EMAIL PROTECTED] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
