[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] TOC and dialogue/drama/poetry
Hi Paul,
The autotoc.xsl stylesheet module (html or fo) handles generating the TOC entries. I suggest you look in autotoc.xsl for all instances of the $qanda.in.toc parameter, which optionally adds qanda elements to the toc. If you add something parallel with poetry, that should get them included.Â
Then each entry's element is processed in mode="toc" to format the listing, so look at the other mode="toc" templates for examples to create a new template in that mode for poetry.
Bob Stayton bobs@sagehill.netOn 2/17/2020 7:07 AM, Pc Thoms wrote:
The elementsÂdialogue/drama/poetry have an optional <title/>, but this does not generate to the Table of Contents. Where does one start to add this functionality? Using <section/> generates to the ToC as desired, but this adds unneccesary bulk.The following is the xml I am working with:
</chapter>
<chapter><title>Poems</title>
<poetry><title>Repeated Numerous Times</title>
<linegroup>
<line>text</line>
</linegroup>
</poetry>
~ Paul
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]