Bug 122124 - EDITING: Show index entries which are names as "<last name>, <first name>" in alphabetical indexes
Summary: EDITING: Show index entries which are names as "<last name>, <first name>" in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevAdvice
Depends on:
Blocks: Writer-Enhancements TableofContents-Indexes-Dialog
  Show dependency treegraph
Reported: 2018-12-15 14:19 UTC by noreply+666192134234234
Modified: 2019-05-28 19:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description noreply+666192134234234 2018-12-15 14:19:55 UTC
If a text contains a name like "Theresa May", and you define it as an index entry for an alphabetical index, the index entry is not shown as "May, Theresa", and currently you cannot configure LO Writer to do so.

So I suggest an additional field in the "Insert Index Entry" window below the "Entry" field. This new field could have the following descripion text: "Term's spelling in the Alpabetical index", into which one could type "May, Theresa", as in the example above. 

But "May, Theresa" in the alphabetical index refers to all instances of "Theresa May", not "May, Theresa" in the text of the document.

Please also make sure that German names like "Freiherr von Zeitgenstein" (a name containing more than two words; compare with bug issue 122054) can be definded as "Zeitgenstein, Freiherr von" in such an additional field in alphabetical indexes, and that this definition ("Zeitgenstein, Freiherr von") refers to all undeclined and declined instances of "Freiherr von Zeitgenstein" in the text of the document.
Comment 1 Heiko Tietze 2018-12-17 12:26:50 UTC
Interesting topic, good for the weekly discussion.
Comment 2 csongor 2018-12-19 03:49:47 UTC
Sometimes it can be useful if we put a name with different spellings. I think it would be easy to enter them separated by colons like

"Bill Gates;Gates, Bill; William H. Gates" 

With this solution the reader would be able to find the name with more spellings. This can be beneficial in case of asian names when more western transspelling co-exist.
Comment 3 Heiko Tietze 2018-12-20 16:17:18 UTC
We talked about this idea in the design meeting and agree on the idea. It requires a new field that consists of at least three elements, first, middle, and last name, and a special handling when those types of ToC with the requested sorting capabilities. Btw, "Freiherr von Zeitgenstein" has also a first name, maybe Heinrich. "Freiherr" is a noble rank.

Could be an interesting GSoC project.
Comment 4 noreply+666192134234234 2018-12-31 20:04:39 UTC Comment hidden (off-topic)
Comment 5 Heiko Tietze 2019-01-02 11:53:35 UTC Comment hidden (off-topic)
Comment 6 Heiko Tietze 2019-01-02 12:17:26 UTC Comment hidden (off-topic)