Vladimir Prus wrote:
Reece Dunn wrote:

> >(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]
> "/>


Ah.. cool. And what's "refentry" and why if it's selected then nothing is
generated. Is it some entity with empty text?

refentry is the DocBook/BoostBook element used for the reference section, e.g. in tools/boostbook/doc/reference.xml:


<section id="reference">
 <title>Reference</title>
 ...
 <refentry id="boostbook.dtd.class-specialization">
   ...
 </refentry>
 <refentry id="boostbook.dtd.link-test">
   ...
 </refentry>
 ...
</section>

As to why nothing is generated, I think it might not be using the <refentrytitle> element instead of the <title> element to get the name of the section. However, I don't fully understand the mechanics of this, so I may be on the wrong track.

> > > 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 "&gt;" changes.
>
> I don't know what caused the &gt; changes :(.

Maybe your editor ;-) So, I'm leaving &gt; there, OK?

I think it may be the mechanism by which I'm posting to the Boost Files section. Oh well. Leaving them in is fine by me.


> I have been working on
> updating the CSS for a while, but the changes haven't been comitted, hence
> the large differences.


I see. I hope we'll be able to commit your further patches promptly now.

:D


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

Reply via email to