Your question is akin building an index of hyperlinks. Then the easiest way to do that is to enter your sentences, paragraphs or whatever run of characters in the index.
You have 2 options for the resulting table:
- list your hyperlinks in the order they appear in the text, as is, without duplicate removal
- list your hyperlinks in alphabetical order, duplicates merged into a single line
This choice is critical for the procedure. In the first case you use a user-defined index. In the second case, this is the built-in alphabetical index.
The first step is preparation of “bookmarks”:
- select the run of characters you want in your index entry
-
Inset
>Table of Contents & Indexes
>Index Entry
- make sure the correct Index is selected in the drop-down menu
- push
Insert
- repeat for every entry
This may be a bit long and boresome the first time, but afterwards you need to do it only for new entries
The second step is index insertion.
- put the cursor where you want the table to appear
-
Insert
>Table of Contents & Indexes
>Table of Contents & Indexes
- make sure the correct index is selected from the drop-down menu
- push
OK
Whenever you add a new entry, you only need to Tools
>Update
>Update all
or right-click on index and Update index
to include the new hyperlink in the table.
The format of entries can be customised at will (e.g. removing the page number if you don’t want cross-references, adding bullets or not, etc.). All these is a matter of playing with the index template in the dialog and specific paragraph styles.
You are encouraged to read the user’s guide freely downloadable from the document foundation site.
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!