[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] TOC and dialogue/drama/poetry
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 email@example.comOn 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:
<poetry><title>Repeated Numerous Times</title>