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)
Version:
(earliest affected)
6.1.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: TableofContents-Indexes Writer-Enhancements
  Show dependency treegraph
 
Reported: 2018-12-15 14:19 UTC by Jens Radloff
Modified: 2019-01-02 12:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Radloff 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 Jens Radloff 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)