This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Empty TOC when using <bridgehead>


Are you sure?

I tried 1.57.0 I still get an empty TOC (OK) with the heading "Table of
Contents" (NOK!)

>From the release notes:

1.56.0

"The bridgehead.in.toc parameter is now properly supported"

If I set bridgehead.in.toc to 1 I do get the bridgeheads in the TOC. So this
works...

Simon.

-----Original Message-----
From: Bob Stayton [mailto:bobs@caldera.com]
Sent: vrijdag 15 november 2002 18:32
To: Kraa de Simon; docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Empty TOC when using <bridgehead>


On Thu, Nov 14, 2002 at 02:52:29PM +0100, Kraa de Simon wrote:
> Hello again,
> 
> Using docbook-xml-4.2, docbook-xsl-1.52.2\html\chunk.xsl, saxon-6.5.2.
> 
> When I process the following input using html\chunk.xsl I get an empty TOC
> in the output which is probably caused by the bridgeheads.
> 
> Is this a problem in the stylesheet? (I really, really HAVE to learn XSL
> myself...sigh...)
> 
> Input:
> 
> <?xml version="1.0"?>
> <!DOCTYPE book SYSTEM
> "file://hol01sthira/utils/docbook-xml-4.2/docbookx.dtd">
> <book> 
>   <chapter> 
> 	 <title>test</title> 
> 	 <section> 
> 		<title>test</title> 
> 		<bridgehead>bridge 1</bridgehead> 
> 		<para>...</para> 
> 		<bridgehead>bridge 2</bridgehead> 
> 		<para>...</para> 
> 	 </section> 
>   </chapter> 
> </book>
> 
> The output looks something like:
> 
> test
> 
> Table of Contents
> 
> bridge 1
> 
> ...
> 
> bridge 2
> 
> ...

Time to upgrade your stylesheets.  This is working
properly in version docbook-xsl-1.57.0.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]