Description: When I create an alphabetical index, it also lists occurrences of that index entry that are in the Table of Contents. I use a concordance file but it occurs with manual index entries too. For example, I have index entry Moon. So, in the index it shows Moon.... ix, 14, 30, 32, 49 etc. The ix is the page number format I use for Alphabetical Index. This is undesirable and it means I need to manually edit the Index. I found no way of preventing this from occurring. Steps to Reproduce: 1. Create a Table of Contents 2. Take one of the words that is also in the Table of Contents as well as in the text, and add it to the Concordance file. 2. Create an alphabetical index and you will see the page number that it is in the TOC will also occur in the index. Actual Results: See above Expected Results: See above Reproducible: Always User Profile Reset: No Additional Info: See above
Created attachment 184360 [details] test document I can't confirm it with Version: 7.5.0.1 (X86_64) / LibreOffice Community Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded
Created attachment 184782 [details] Sample from my document Please see attached image. The entries in Roman numerals are from my table of contents. The regular numbers are from instances in the body.
Could confirm the buggy behavior. Took https://bugs.documentfoundation.org/attachment.cgi?id=184360 and added a new entry (again a header) without any problem. Then created a concordance file. Set the index to use this file. Entries of TOC will appear in alphabetical index. Removed the concordance file but the entries won't be removed. The bug only appears together with concordance file. Tested with Version: 7.5.0.2 (X86_64) / LibreOffice Community Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58 CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded (OpenSUSE 15.3 64bit rpm Linux)
(In reply to Robert Großkopf from comment #3) > Then created a concordance file. > Set the index to use this file. Please tell us more about how you created the file. What I did: 1. Right-click alphabetical index, Edit index 2. In Type tab, check Concordance file 3. In the dropdown under the option, select New, input file name 4. Input complete garbage as values for the entry I could not reproduce with 7.5 or master (updating the indexes after adding a heading). Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 45399721e1497bc9731eacc1b001335ef4314579 CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 17 September 2024
> 4. Input complete garbage as values for the entry Take one of the words that is also in the Table of Contents as well as in the text, and add it to the Concordance file With the test document, at step 4, insert a word that is already in Table of content, like Test. And add it to Concordance. The Alphabetical Index will also include page 1 because of one occurrence here. Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Already in 3.5.