We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Text is heading: how add it to alpha index?

asked 2019-10-29 18:06:46 +0200

lanzcc gravatar image

updated 2021-05-31 18:46:07 +0200

Alex Kemp gravatar image

Hello, a number of headings (as in "Heading 1") in my document need also to be entries in the alphabetical index, but if some text is already defined as one of the "headings" then it appears that you can't also use it as an index entry. Is there any way around this, other than typing in the heading a second time and declaring it to be "Index 1"? Thanks. Lanzcc

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-10-29 18:20:37 +0200

ajlittoz gravatar image

Heading n are collected automatically to go into the Table of contents (TOC). The trigger is the paragraph style.

There is no automation to collect index entries if you didn't explicitly declare some part of the text as such. Consequently, if you want words from a heading (or a full heading) to go in an Alphabetical index, there is no way other than to mark the words (selecting them) and thenInsert>TOC & Index>Index Entry.

Collecting index entries is not based on paragraph style name!.

Paragraph style Index 1 is intended to format level-1 entries in the index table itself. Don't use it on your Heading 1 paragraph lest it be removed from the TOC. And also, its formatting will be changed. You have no reason to use Index n in the typed part of your document. You only edit the style to change the appearance of the index.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-10-29 18:06:46 +0200

Seen: 59 times

Last updated: Oct 29 '19