[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Adding a new generated list - like lists of "formal" elements
There is a template named 'list.of.titles' in fo/autotoc.xsl that is used to create all of those lists. It is called from the template with match="book" in fo/division.xsl for each of the list types. You would have to customize both templates to get a new list. Each of the items in a list is processed in mode="toc", so you would need to add a new template for handling your new element. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Peter Desjardins" <pdesjardins@supplyscape.com> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, December 20, 2005 7:40 AM Subject: [docbook-apps] Adding a new generated list - like lists of "formal" elements I am trying to help convert a functional specification written in MS Word to DocBook. One of the document structures in the Word version is a generated table at the beginning of the specification that compiles a list of design issues. The design issues are tagged with a distinctive paragraph style. The generated list is exactly like a list of tables or a list of figures. In Word, it's simple to add a generated table and specify which paragraph styles that it should include. None of the "formal" DocBook elements (figure, table, example, equation, procedure) have the correct semantics to hold what the "issues" in the functional specification. Is there a way in DocBook to add a new generated table of specific elements? I guess I could instruct the authors to encode issues as one of the existing formal elements and then change the heading for the generated table to "issues." But that would be an unhappy solution. Maybe I could customize the XSLT template to create a table of formalpara elements at the beginning of the book. Has anyone encountered a need like this? Thanks for your help. Peter Desjardins SupplyScape Corporation http://www.supplyscape.com --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]