Bug 72971

Summary: Alphabetical index for documents structured with chapters and their own page numbers is incorrect
Product: LibreOffice Reporter: Pit Zaclade <ps-PitZyclade>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: low CC: jmadero.dev, qubit, todventtu
Version: 4.1.3.2 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=60616
Whiteboard:
i915 platform: i915 features:
Attachments: example for corrupt index in a document with chapter and ist own page numbers
another simplified example for the useless index
modified simplified example for the useless index
PDF export of indices using 4.4.0.0 alpha1 from Nov 02

Description Pit Zaclade 2013-12-22 14:13:22 UTC
I have a document parted in chapters. Every chapter has its own page numbers (chapter 1 with page 1, 2, 3 and so on, chapter 2 with page 1, 2, 3 and so on). So it is necessary that alphabetical index indicates all finds with chapter and page, e.g „chapter 1 – page 1, 3, 7, chapter 9 – page 3, 8“.

But this is not possible!
I have found, that the alphabetical index only lists the first found chapter combined with all found pages, but without any correct chapters, e.g. „ chapter 1.2 p 3, 4, 8, 9“ . (But chapter 1.2 has no page 9, but the chapter 7.6 has it, for example.)

If I want no pages, than the finds are not complete, only the first found chapter
is listen.

I am feeling that there is no solution for my problem?
Comment 1 Pit Zaclade 2013-12-22 16:02:32 UTC
This bug is particularly identical with the insolved <b> bug 60616 </b>
with 'Combine identical entries' is checked.

But I see there are two different bugs:
1. The output gives only the first found chapter, not the others
2. The output gives not combination of chapter and page, what is essential if chapters have its own page numbers
Comment 2 foss 2013-12-23 12:48:18 UTC
Hi Pit, could you attach an example document so this could be experimented with? If your document contains confidential info, just replace it with some random jabberjabber talk.

I'm unsure if there is a solution thus adding keyword NeedAdvice. If there indeed is no solution I guess this here would be a valid enhancement request.
Comment 3 Pit Zaclade 2013-12-23 15:05:18 UTC
Created attachment 91155 [details]
example for corrupt index in a document with chapter and ist own page numbers
Comment 4 Pit Zaclade 2013-12-23 15:17:26 UTC
(In reply to comment #3)
> Created attachment 91155 [details]
> example for corrupt index in a document with chapter and ist own page numbers

The attaches document is in german, sorry, I also.
This ist a text for kitchen.

Kap. = Kapitel = chapter
S. = p. = page

The index has an entry "Milch" = milk. This is oblige and often in the text, but the indicated chapter is not the first and not single with milk and the indicated page numbers are not correlated with any chapter number and therefore not useful, bacause every chapter has a page 1, 2, ...
Comment 5 Pit Zaclade 2014-01-06 13:27:16 UTC
Created attachment 91540 [details]
another simplified example for the useless index

This example is in English. The chapters in this document have own numerated page numbers. Why do the page numbers start in every chapter new? Only this makes it possible to complete parts (recipes) without to destroy or modify the sub chapter numbers. 
In this example some simple entries exist for alphabetical index, no concordance list is used.

The alphabetical index shows the entries, but the index is useless while the listed page numbers are without any relation to the chapters, so that nobody can see for example on which page 2 from which chapter he can found the entry.
Comment 6 Pit Zaclade 2014-01-10 12:21:27 UTC
The problem is greater as I have reported. In the example file the entry "orange" is in the chapter line itself, but it is not listed in the alphabetical index!
Comment 7 Pit Zaclade 2014-01-10 12:38:43 UTC
Created attachment 91815 [details]
modified simplified example for the useless index

This example is in English. The chapters in this document have own numerated page numbers. Why do the page numbers start in every chapter new? Only this makes it possible to complete parts (=recipes) without to destroy or modify the sub chapter numbers.
In this example file some entries exist and a alphabetical index at the bottom, no concordance list is here used.

The alphabetical index shows the entries, but the index is useless while the listed page numbers are without any relation to the chapters, so that nobody can see for example on which page 2 from which chapter he can found the entry.

Second, the entry "orange" in the sub chapter 1.3 itself is not found at chapter!?
Comment 8 Robinson Tryon (qubit) 2014-02-03 13:51:08 UTC
(In reply to comment #0)
> I have a document parted in chapters. Every chapter has its own page numbers
> (chapter 1 with page 1, 2, 3 and so on, chapter 2 with page 1, 2, 3 and so
> on). So it is necessary that alphabetical index indicates all finds with
> chapter and page, e.g „chapter 1 – page 1, 3, 7, chapter 9 – page 3, 8“.
> 
> But this is not possible!
> I have found, that the alphabetical index only lists the first found chapter
> combined with all found pages, but without any correct chapters, e.g. „
> chapter 1.2 p 3, 4, 8, 9“ . (But chapter 1.2 has no page 9, but the chapter
> 7.6 has it, for example.)

Hi Pit,

Thanks for filing a bug and providing an example document -- that makes our life much easier!

Is your alphabetical index implemented completely as a macro, or using the built-in tools?
https://help.libreoffice.org/Writer/Creating_Alphabetical_Indexes

(Please change the bug Status back from 'NEEDINFO' to 'UNCONFIRMED' when you've finished your reply)


Thanks!

Whiteboard: (remove NeedAdvice)
Comment 9 Pit Zaclade 2014-02-03 17:03:58 UTC
I am using only the built-in tools for index.
Comment 10 Joel Madero 2014-07-10 01:39:10 UTC
Not a major bug - lowering to:

Normal: Can prevent high quality/professional work
Low: Not a feature that will affect the average user, lowered from medium to low

For reference please see: 

https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 11 Beluga 2014-11-02 15:09:17 UTC
Created attachment 108794 [details]
PDF export of indices using 4.4.0.0 alpha1 from Nov 02

I don't know, if this is correct or not, but this is how it looks like in the latest alpha.

Win 7 64-bit Version: 4.4.0.0.alpha1+
Build ID: b167d1127e1579468a74c4414e7f4f33d9d24122
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-02_03:04:44

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.