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]

Problems with table of contents



  Hi,

When I generate PDF or HTML output from my DocBook book files the "sect1"
sections aren't numbered. Therefore the table of contents looks like this:

  Table of contents

  Abstract
  1. Introduction
       Background
       Method
  2. Simulation

I want the "Background" and "Method" sections to be numbered "1.1" and
"1.2" respectively, but I have no idea of how to fix that. Could it be a
bug or is there a setting I have to change? The SGML source looks like
this:

  <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">

  <book lang="en">
    <chapter id="introduction">
      <title>Introduction</title>
      <para></para>

      <sect1 id="background">
        <title>Background</title>
        <para></para>
      </sect1>

      <sect1>
        <title>Method</title>
        <para></para>
      </sect1>
    </chapter>

    <chapter id="simulation">
      <title>Simulation</title>
      <para></para>
    </chapter>
  </book>

I'm using DocBook v4.1, OpenJade v1.3, OpenSP v1.3.4, DocBook DSSSL v1.76
and sgml2x v0.11 on a Linux Mandrake system.

  Regards,

  Markus Einarsson


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