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: Suppressing TOC in book/appendix/sect1


[Forwarding this to the list -- accidentally replied to Bob without
Cc: to list.]

On Mon, Jan 20, 2003 at 01:40:43AM -0800, Bob Stayton wrote:
> On Mon, Jan 20, 2003 at 05:17:27PM +1030, Paul A. Hoadley wrote:
> > I have an <appendix> in a <book> with a few <sect1>s in it.  I cannot
> > seem to suppress the generation of a sect1-level TOC using the FO
> > stylesheets.
> 
> I cannot duplicate this behavior with sect1's in an
> appendix in a book with the 1.59.1 fo stylesheets. Please
> send an example file.

Thanks for the reply, Bob.  Here is a short example:


<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE book SYSTEM "/usr/local/share/xml/docbook/docbookx.dtd">
<book>
  <appendix>
    <title>Manual Pages</title>

    <sect1>
      <title>A title</title>

      <refentry id="dlnk">
	<refmeta>
	  <refentrytitle>dlnk</refentrytitle>
	  <manvolnum>1</manvolnum>
	</refmeta>
	
	<refnamediv>
	  <refname>dlnk</refname>
	  <refpurpose>link DLX object files</refpurpose>
	</refnamediv>
      </refentry>
    </sect1>
  </appendix>
</book>


Is it the <refentry> triggering the TOC generation?  I tried adding
"refentry nop" to the generate.toc parameter to no avail.


-- 
Paul.

mailto:paulh@logicsquad.net
mailto:paul.hoadley@student.adelaide.edu.au


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