Ask Your Question

alphabetical index cross-references

asked 2018-04-28 11:29:32 +0100

frankvw gravatar image

Hi, all,

When creating an alphabetical index, I would like to include cross-references. E.g.:

Tom Sawyer.....1                                               <- Regular entry
Huckleberry Finn...3
Mark Twain: see Samuel Clemens                                 <- Cross Reference

Is this possible, and if so, how?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-04-28 12:14:39 +0100

ajlittoz gravatar image

You need to manipulate a bit the entry before inserting it into the index.

  1. Type what will become you index entry with any substitution you like (fields, cross-references, …)
  2. Select the part of this entry which should not appear in your text, e.g. ": see Samuel Clemens"
  3. Give it a character style whose Font Effects tab has Hidden Text checked

    Note: it is a good idea to check Hidden text box in Tools>Options, LibreOffice Writer>Formatting Aids beforehand to avoid seeing the hidden text disappear as soon it is styled.

  4. Select now the whole entry, visible and hidden text

  5. Insert>Tables & Index>Index Entry

You get something like this: Index with addition

Note the underline under ": see Clemens" indicating text is hidden and will not print. In my example, I used literal text but you can replace it with a cross-reference to any part of your document. The trick is to make it hidden.

Suppressing the page number is very tricky and not fully satisfactory because you must modify the structure of entries in the index definition dialog.

My imperfect solution is to gather all references "see xxx" under a common main entry so that the references are at level 2. I can then remove the tab and page number in the level-2 entry layout. The inconvenient is it leaves a common title above the references. It results practically into two logical index tables: one with level-1 entries, the other with level-2 entries grouped under their title. This supposes you don't use multi-level entries, otherwise it clutters your index.

Unnumbered index entry

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-28 11:29:32 +0100

Seen: 155 times

Last updated: Apr 28 '18