Difference between revisions of "Add Table of Contents or Index to reports"

From Gramps
Jump to: navigation, search
(Getting Started)
Line 7: Line 7:
  
 
==Getting Started==
 
==Getting Started==
 +
[[Image:Toc tutorial 1.jpg|thumb|left|250px|Fig. 1 Creating a Book Report]]
 +
[[Image: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 marks are embedded in reports created in Open Document Text (.odt) (also in the older Open Office (.sxw) formats). These tags allow the creation of a Table of Contents or Index of names in OpenOffice.
 
Open Office is a great companion for Gramps. As of Gramps version 2.1.5 marks are embedded in reports created in Open Document Text (.odt) (also in the older Open Office (.sxw) formats). These tags allow the creation of a Table of Contents or Index of names in OpenOffice.
  
[[Image:Toc tutorial 1.jpg|thumbnail|Creating a Book Report]]The first step is to create a report. This example creates a book report to demonstrate that multiple reports can be combined.
+
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 ''Reports->Books->Book Report''.
+
From the menu select {{man label|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.
 
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 Decendant Report and a Detailed Ancestor Report. Click "OK" to generate the report.
 
  
[[Image:Toc tutorial 2.jpg]]
+
 
 +
 
 +
 
 +
 
 +
 
 +
In this example, you can see that the book will include a title page, a Complete Individual Report, a Detailed Decendant Report and a Detailed Ancestor Report. Click {{man button|OK}} to generate the report.
  
 
==Insert a Table of Contents==
 
==Insert a Table of Contents==

Revision as of 00:31, 8 July 2008

We show how to add a table of contents or an index to a GRAMPS generated report in OpenOffice.


Getting Started

Fig. 1 Creating a Book Report
Fig. 2 Book Report



Open Office is a great companion for Gramps. As of Gramps version 2.1.5 marks are embedded in reports created in Open Document Text (.odt) (also in the older Open Office (.sxw) formats). These tags allow the creation of a Table of Contents or Index of names in OpenOffice.

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 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 Decendant Report and a Detailed Ancestor Report. Click OK to generate the report.

Insert a Table of Contents

Example of a Table of Content
Toc tutorial 3.jpg


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 file menu, select Insert->Manual Break ...'. Choose Page Break and click OK

Toc tutorial 4.jpg




Scroll to the newly inserted page and add the Table of Contents by selecting Insert->Indexes and Tables->Indexes and Tables ....

Toc tutorial 5.jpg


In the Indexes and Tables dialog, change the type to Table of Contents. Also, be sure that the Outline check box is unchecked and the Index Marks check box is checked. This tells Open Office to create the TOC from the marks that were embedded by Gramps.






After you click OK, the Table of Contents should appear.

Insert an Index

Example 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.

Next, open the Indexes and Tables dialog like you did for the TOC. This time, change the type to Alphabetical Index.

Toc tutorial 7.jpg

Click OK and the index will appear.

Conclusion

We showed how a TOC and an Index can quickly be added to your openoffice documents. Do you have other tips and tricks, share them!