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: Re: [docbook-apps] QandASet encapsulation and TOC


Hi,
As others have found, qandaset isn't really a structural element in DocBook.  The highest level element in can be a child of is one of appendix, article, chapter, partintro, or preface.  It is possible through customization to add qandasets to various tables of contents, as was described in an earlier thread, but you would have to handle the nested qandaset hierarchy yourself.
 
I don't know if this would work in your case, but a solution that has been suggested before for large structured FAQs is to use sections to form the structure, and make each qandset within a section a simple list.  The qandaset would have no title; instead, the title would go on the section.  That way you can more easily get your groups into a TOC, and it would be able to be handled in a modular fashion without a lot of customization.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Sunday, April 30, 2006 1:39 AM
Subject: [docbook-apps] QandASet encapsulation and TOC

Hi list,

My intent is to include a QandASet in a book. The qandaset, as it will grow, will later be excluded and published as a separate book(?). My question is: what kind of root element do you use to encapsulate qandaset in a book? Chapter, appendix? I have tried both and had a problem with TOC. While my customization layer forces TOC to be present at the beginning of each chapter, it did not work for the one containing a qandaset divided into qandadivs. How can I insert a local TOC in such a case?

If qandaset is a separate document, what shall I use to encapsulate it to look similarly to a book but, of course, with title labeling specific to QandASets? I haven't found too much on qandaset in Docbook: TDG nor Docbook XSL (BTW, it's a great book).

Thanks,

-Zbyszek


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
https://lists.oasis-open.org/archives/docbook-apps/200605/msg00010.html
lists.oasis-open.org
crawl=CC-MAIN-2020-24
7948
application/http; msgtype=response
sha1:AJGAKHJ2EQBAXEKEBJCUKTFE5OFQXB22
<urn:uuid:d4932ff3-e835-4edc-ac53-52babe7c0e2b>
2020-05-27T03:55:10Z
34.233.166.49
text/html
sha1:WI3TUYIJCSQPWQL7SDFVYCE5IX24HU56
<urn:uuid:0f87026a-765a-488c-a32a-4d7713bfdf8f>
https://lists.oasis-open.org/archives/docbook-apps/200605/msg00010.html
response
<urn:uuid:85ba14b3-5de9-45d1-b422-a9f35c32ca82>
isPartOf: CC-MAIN-2020-24
publisher: Common Crawl
description: Wide crawl of the web for May/June 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-117.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/