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: Newbie trouble with output of 'section'-separatedHTML-files


/ Joachim Liedtke <JLiedtke@NewYorker.de> was heard to say:
| <book>
|   <chapter>
|     <sect1>...</sect1>
|     <sect2>...</sect2>
|     <sectn>...</sectn>
|   </chapter>
| </book>

That's not legal. Either you meant:

<book>
  <chapter>
    <sect1>...</sect1>
    <sect1>...</sect1>
    <sect1>...</sect1>
  </chapter>
</book>

or

<book>
  <chapter>
    <sect1>
      <sect2>
        ...
          <sectn>
          </sectn>
        ...
      </sect2>
    </sect1>
  </chapter>
</book>

| Now I would rather like to transform the file into separate HTML-files, each
| file representing a section (sec1 - sectn).

Set chunk.section.depth=5 (or however deep you want to go).

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Nothing hath an uglier look to us
http://www.oasis-open.org/docbook/ | than reason, when it is not on our
Chair, DocBook Technical Committee | own side.--Marquess of Halifax


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