Changes

Jump to: navigation, search

Add Table of Contents or Index to reports

56 bytes removed, 03:22, 17 July 2015
Conclusion
{{languages|Add Table of Contents or Index to Ooo reports}}
How to add a table of contents or an index to a GRAMPS Gramps generated report in [http://www.documentfoundationlibreoffice.org/download/ LibreOffice] or [http://www.openoffice.org OpenOffice]LibreOffice is a great companion for Gramps.
==Getting Startedstarted==[[ImageFile:Toc tutorial 1.jpg|thumb|left|250px|Fig. 1 Creating a Book Report]][[ImageFile:Toc tutorial 2.jpg|thumb|right|250px|Fig. 2 Book Report]]
Open Office is a great companion for GRAMPS. As of GRAMPS version 2.1.5 Gramps embeds marks are embedded in reports created in the Open Document Text (.odt) format (also in the older Open Office (.sxw) formats). These tags allow the creation of a Table of Contents or Index of names in program.
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.
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|250px|left|Fig. 3 Example of a Table of Content]] [[Image:Toc tutorial 3.jpg|thumb|right|250px|Fig.4 3 ]]
Once the report has been generated, open it in LibreOffice. Many people like the Table of Contents to appear after the Title Page. To do so, first insert a page break after the text of the Title Page.
Once the report has been generated, open it in Open Office. Many people like the Table of Contents to appear after the Title Page. To do so, first insert a page break after the text of the Title Page.
From the {{man button|file}} menu, select {{man menu|Insert->Manual Break ...'}}. Choose {{man button|Page Break}} and click {{man button|OK}}
From the {{man button[[File:Toc tutorial 4.jpg|file}} menu, select {{man buttonthumb|Insert->Manual Break ...'}}. Choose {{man buttonright|Page Break}} and click {{man button250px|OK}}Fig. 4]][[ImageFile:Toc tutorial 45.jpg|thumb|left|250px|Fig. 5]][[ImageFile:Toc tutorial 56.jpg|thumb|250px|right|250px|Fig. 6Example of a Table of Content]]
Scroll to the newly inserted page and add the Table of Contents by selecting {{man buttonmenu|Insert->Indexes and Tables->Indexes and Tables ...}}.
 In the {{man label|Indexes and Tables}} dialog, change the type to {{man label|Table of Contents}}. Also, be sure that the {{man label|Outline}} check box is unchecked and the {{man label|Index Marks}} check box is checked. This tells Open Office LibreOffice to create the TOC from the marks that were embedded by GRAMPSGramps.
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.
Do you have other tips and tricks, share them!==See also==* [[Gramps_4.1_Wiki_Manual_-_Reports_-_part_3#Books]]
[[Category:Tutorials]]

Navigation menu