Re: TOC: List of Figures - Mailing list pgsql-docs

From Jürgen Purtz
Subject Re: TOC: List of Figures
Date
Msg-id c6b89df9-32e1-be55-3ff9-b013a97e7a59@purtz.de
Whole thread Raw
In response to TOC: List of Figures  (Jürgen Purtz <juergen@purtz.de>)
List pgsql-docs
> After the integration of figures into the documentation it may be 
> helpful to extent the TOC with a 'List of Figures'. Any opinion?
>
> If yes: The same for 'List of Tables' and 'List of Examples'?
>
> There is a simple way to enable this feature: change line 56 of 
> stylesheet-html-common.xsl to: "book toc,title,figure,table,example". 
> As shown in a previous thread this leads to an ugly swelling of the 
> TOC similar to the formerly handling of release notes - especially for 
> tables and examples -, see attachment 1.
>
> The alternative is a downshift of the postings by one level, see 
> attachment 2. How to realize this behavior is shown in attachment 3.

I understood that the majority of voters recommend the 'list of figures' 
but refuses lists for 'tables' and 'examples' (please consider that PDF 
generates all of them by default). The attached patch realizes the 
desired behavior. In 'func.sgml' there is also a modification because 
the given example isn't a figure, it's an example/programlisting.

Jürgen Purtz



Attachment

pgsql-docs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: TOC: List of Figures
Next
From: PG Doc comments form
Date:
Subject: Documentation about physical replication