Hello, I've just produced
http://zigzag.cs.msu.su:7813/program_options2/any.reference.html
using current CVS state of Boost.Book. The problem is that I see a lot of empty local TOC. Any suggestions what to do?
TIA, Volodya
I have been aware of this problem since I changed the way that a TOC list was rendered, but haven't looked into the problem.
What is happening is that the DocBook stylesheet is generating
<div class = "toc"></div>
markup regardless of whether or not the section needs it. The solution is simply wrapping that generation around a condition that checks if there is a need for a TOC, something along the lines of:
<xsl:if test = "$toc.generate = 'true' and (section or reference)">
<div class = "toc"><xsl:apply-templates mode = "toc"/></div>
</xsl:if>but I haven't had a look at the specifics of this in the DocBook internals.
I shall make this a priority and should have this along with the configurable bottom navigation links (and hopefully a patch for the calcTables error) within the next few days.
Regards, Reece
_________________________________________________________________
It's fast, it's easy and it's free. Get 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
