Hi Jerry On Tue, Apr 13, 2010 at 12:56 AM, Jerry Jacobs <[email protected]> wrote: > Dear Stuart Rackham, > > I would like to thanks you for the extensive documentation but still I miss > a entry in the FAQ. > Because docbook is complex and you can also do alot with asciidoc itself I > was unable to figure out how to have a book document and include multiple > chapters/paragraphs with numbering enabled/disabled. For example i have two > documents and one main document: > > index.txt: > > Sample Book > ========== > > include::chapter_1.txt[] > include::chapter_2.txt[] > > For example I would like to not number all the chapters and paragraphs in > chapter 2. But only for chapter 1. I know it can be disabled global. I want > to do this specialy for docbook backend, maybe you have a trick to add > something to a stylesheet.
You can use the numbered attribute to turn numbering on and off with the xhtml11 backend but not for the docbook backend. The following would work for xhtml11 but not docbook, as far as I know it's only possible to turn numbering off globally when processing DocBook with DocBook XSL Stylesheets. :numbered: Sample Book ========== :numbered!: include::chapter_1.txt[] :numbered: include::chapter_2.txt[] I've cc'd your question to the AsciiDoc mailing list, someone else may be more knowledgeable than I am. Cheers, Stuart > > Kind Regards, > Jerry Jacobs > - http://www.xor-gate.org > > -------------- > "One of the main causes of the fall of the Roman Empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs" - Robert Firth > Not everything that counts can be counted, and not everything that can be > counted counts. - Albert Einstein > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
