Created attachment 139138 [details] File with Chapter numbering example (works well in LO 5.2.7 but not in subsequent versions) In Tools > Chapter Numbering, the Numbering followed by "Nothing" option does not behave as intended: if this option is selected, Writer automatically inserts an unwanted space after the numbering within the Table of Contents. * The issue came up after I updated my LO from 5.2.7 to 5.4.4. LO 5.2.7 behaves as expected. * I also verified that the problem exists in LO 5.3.7; so it seems like the bug emerged somewhere in the transition between 5.2 and 5.3. * I attach a sample file showing this issue. If we update the index (ToC) in LO 5.2.7, it behaves normally; in LO 5.3 and 5.4, an unwanted space appears after the chapter number after we update the index. Thank you very much for looking into this!
I can confirm the behavior. The question is, whether there should be an automatic space after E# in the TOC. The same unwanted space after E# has been reported in bug 114773. This is connected to bug 44282 with was fix and reverted. I do not find the issue, where the space had been introduced. My opinion here: (1)The chapter numbering setting "followed by" (nothing/space/tab) effects only the heading or list item itself, not the TOC and not any cross reference. (2)If a distance between chapter number and chapter text is desired in the TOC, then it should be integrated into the default entry template by using the fixed text area (<text:index-entry-span> in file format) between E# and E. Such way the user has full control to use it or not. Yvan Rose: You should try another design. Put the colon behind the chapter heading number as "behind" into the chapter numbering itself and start the heading text immediately without colon. Use space or tab in the chapter numbering "followed by". I don't know, whether this is duplicate to bug 114773, because I don't know how the string in the TOC is generated from the template.
Created attachment 139167 [details] Further testing - see part highlighted in yellow on p. 7 of document
Thank you for your reaction, Regina. I tried some workarounds, and I could get by, but that doesn't solve the issue. (I agree that the issue was fixed for a while but then reverted.) * In the ToC of the new document, there are two spaces added after the colon, now set in Chapter numbering, which means the 'gremlin' space is still there. * The issue appears to affect Level 1 of Chapter numbering, which also affects Level 1 numbering in custom lists, something I illustrate with Table and Figure numbering in the new (2nd) attachment
Created attachment 139169 [details] Further testing - see part highlighted in yellow on p. 7 of document
(In reply to Regina Henschel from comment #1) > I can confirm the behavior. The question is, whether there should be an > automatic space after E# in the TOC. The same unwanted space after E# has > been reported in bug 114773. This is connected to bug 44282 with was fix and > reverted. I do not find the issue, where the space had been introduced. > > My opinion here: > (1)The chapter numbering setting "followed by" (nothing/space/tab) effects > only the heading or list item itself, not the TOC and not any cross > reference. > (2)If a distance between chapter number and chapter text is desired in the > TOC, then it should be integrated into the default entry template by using > the fixed text area (<text:index-entry-span> in file format) between E# and > E. Such way the user has full control to use it or not. > > Yvan Rose: You should try another design. Put the colon behind the chapter > heading number as "behind" into the chapter numbering itself and start the > heading text immediately without colon. Use space or tab in the chapter > numbering "followed by". > > I don't know, whether this is duplicate to bug 114773, because I don't know > how the string in the TOC is generated from the template. Hello Regina, I added more details in Comment 3. It also does look like this is a duplicate/similar issue as bug 114773. Thank you very much for any help you can provide!
Hi Yvan, thanks for your report. Your initial reported issue is indeed a duplicate of bug 114773 so I will set it as dupe. If you encounter another issue or inconsistency than the space-in-ToC problem, please file another bug(s). Regina: That the chapter numbering setting "followed by" (nothing/space/tab) doesn't effect is a good thing. It's for chapter appearance. ToC appearance should be handled separately and if you want a space/whatever between chapter number and text, you maybe don't want the same in a ToC. (I'll second that.) I wouldn't want to influence a ToC by the chapter numbering dialog. *** This bug has been marked as a duplicate of bug 114773 ***