15,534
edits
Changes
→See also
{{languages|Add Table of Contents or Index to reports}}
{{stub}}<!--TOC settings have changed for libreoffice, recall recent issue on mantis-->
How to add a table of contents or an index to a Gramps generated report in [http://www.libreoffice.org/download/ LibreOffice]. LibreOffice is a great companion for Gramps.
The first step is to create a report. This example creates a book report to demonstrate that multiple reports can be combined.
From the menu select {{man labelmenu|Reports->Books->Book Report}}.
This opens the book report dialog. It has two lists. The top list shows all the available reports that can be added to the book. The bottom list shows all the reports that have been added.
In this example, you can see that the book will include a title page, a Complete Individual Report, a Detailed Descendant Report and a Detailed Ancestor Report. Click {{man button|OK}} to generate the report.
==Insert a Table of Contents==
[[ImageFile:Toc tutorial 63.jpg|thumb|left|250px|left|Fig. 3 Example of a Table of Content]]
[[File:Toc tutorial 4.jpg|thumb|right|250px|Fig. 4]]
[[File:Toc tutorial 5.jpg|thumb|left|250px|Fig. 5]]
[[File:Toc tutorial 6.jpg|thumb|250px|right|Fig.6 Example of a Table of Content]]
Scroll to the newly inserted page and add the Table of Contents by selecting {{man menu|Insert->Indexes and Tables->Indexes and Tables ...}}.
After you click {{man button|OK}}, the Table of Contents should appear.
{{-}}
==Insert an Index==
[[ImageFile:Toc tutorial 87.jpg|thumb|left|250px|Fig. 7 Example of an index]][[ImageFile:Toc tutorial 78.jpg|thumb|right|250px|Fig. 8Example of an index]]
Most people like the index to be at the end of the book. To do so, place the cursor at the very end of the book, and insert a page break like you did for the TOC.
Click {{man button|OK}} and the index will appear.
{{-}}
==Conclusion==
*We showed how Adding a TOC and an Index can quickly be added to your documentscan be done quickly.
[[Category:Tutorials]]