https://bugs.documentfoundation.org/show_bug.cgi?id=152075

            Bug ID: 152075
           Summary: Writer: TOC for chapter should start at current
                    level+1, not current level
           Product: LibreOffice
           Version: 7.4.2.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 183633
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183633&action=edit
Chapter TOC with "duplicate" chapter heading

Version: 7.4.2.3
Build ID: 40(Build:3)
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

Just upgraded to 7.4 series and testing new features.

TOC for chapter has been improved to collect entries "starting with current
level instead of hard-wired 2".

IMHO, this is wrong because it also lists the heading for the current chapter,
duplicating it as the chapter-TOC is very commonly inserted immediately after
chapter heading. Attached file shows the duplication.

Previously (pre-7.4 releases), chapter level was considered 1 and headings
collection started with 2 (=next level after 1).

Please start collection at next level after current level.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to