Thank you Bob: Will attempt to do so. On Mon, Feb 17, 2020 at 2:00 PM Bob Stayton <[email protected]> wrote:
> 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 [email protected] > > On 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><title>Poems</title> > <poetry><title>Repeated Numerous Times</title> > <linegroup> > <line>text</line> > </linegroup> > </poetry> > </chapter> > > ~ Paul > >
