OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Including contentonly module in a structure, render content sections as chapters?

Hi! I'm trying to write a DocBook 5.1 topic that I can include in a
very large structure and that I can also publish as a smaller
standalone book.

The topic has nested section elements. To create my standalone book, I
want to include the topic module as the only content in the structure
and promote the topic's top-level sections to chapter elements in the

Here's the structure I'm using:

<structure xml:id="myStandaloneGuide">
    <title>My Standalone Guide</title>

  <module contentonly="true" omittitles="true"

This results in a book with my title and the child sections of the
topic, which is almost what I need. The book is not valid because the
sections are not promoted to chapter elements.

Is there any way to include the contents of a topic and promote those
content to book-level elements?

I think I can work around this by creating resources for each of the
child sections and rendering them as chapters individually. I'd like
to confirm that there isn't a feature I'm missing though.

Thanks for your help!


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]