Page 1 of 1

[Solved] Hierarchical index for categories

Posted: Thu Nov 07, 2024 1:11 pm
by Pauhana
Hey OpenOffice community.

I have a document manual with pages that have a fixed structure (which is to say, they follow a template). I am looking for a way to create an index hierarchy that references information within those pages. For instance, I'd like within the index instead of having things grouped under the first letter of a topic, I'd like a category like "Tool", then under Tool "Hammer" with specific page numbers containing hammer, "Plier" with specific page numbers containing plier, etc.Is there a way of accomplishing this?

Thanks very much for any help!

Re: Hierarchical Index

Posted: Thu Nov 07, 2024 2:17 pm
by floris v
Yes, that is possible. If you enter index items with the Insert - Table of Contents and index dialog box, enter Hammer in the Entry box and Tool in the First key box. If you want deeper nesting, you can enter a second key. It seems that those second keys will be sorted with the items with only one key, so you can get

Code: Select all

Alphabetical Index
grammar	
	pronouns	
		this		2
	rule			1
	verb	
		have	1
tool	
	hammer		1
which is a bit sad, of course.

Re: Hierarchical Index

Posted: Fri Nov 08, 2024 1:26 am
by Pauhana
The 1st and 2nd key boxes are not active (greyed out). Not sure why. Any thoughts?

Re: Hierarchical Index

Posted: Fri Nov 08, 2024 1:28 am
by Pauhana
Oh, I didn't have alphabetical selected. Never mind.

Thanks for the info!