[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Turning off table/figure numbering?
On Fri, Jun 6, 2008 at 7:51 AM, Paul DuBois <email@example.com> wrote: > I realize there may be arguments against turning off numbering. I am trying > to see how far this can be taken. From the good book: http://www.sagehill.net/docbookxsl/FormalTitles.html#FormalNumbering """Formal elements like table, figure, and example are all automatically numbered by the stylesheets. In general, these titles are generated by processing the formal element in mode="object.title.markup". In that mode, the element's gentext template is taken from the locale file such as common/en.xml using the context="title" section of the file. The following example shows the gentext template for figure, except the non-breaking space characters are replaced by ordinary spaces for clarity: <l:context name="title"> <l:template name="figure" text="Figure %n. %t"/> The %n code is replaced by the number during processing, and the %t by the title. The number itself is generated by processing the element in mode="label.markup", and the title using mode="title.markup". If you want to display just titles for your formal elements, you must customize its gentext templates and the label.markup mode for each element. See the section "Table titles without number labels" to see how it is done for tables.""" HTH, Keith