If multiple level Headings occur in a series on one page, when exported to Epub, only the highest level Heading is used and the rest are discarded. In my case, I can have up to four levels of headings nested, but only the highest one on each page series is used.
Perhaps the problem is that there is no text between the nested headings, but they are correctly written that way.
Steps to Reproduce:
1.Create nested headings eg Level 1, Level 2, Level 3, level 4 on same page with no text between them.
2. Create a table of contents from them to confirm they are formatted correctly and save the odt file.
3.Export to Epub and look at its contents to see if all entries are in the list.
Only the top level heading is in the list.
All of the headings should appear in the list, as in the odt table of contents.
User Profile Reset: No
This problem does not occur if there is text between the heading entries. Nesting one after another creates the problem.
Don't know if this happens in earlier versions.
Version: 126.96.36.199 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win;
Locale: en-AU (en_AU); UI-Language: en-GB
Thank you for reporting the bug. Please attach a sample odt-document, as this makes it easier for us to verify the bug.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it)
Created attachment 161486 [details]
ODT Page with four level headings.
[Automated Action] NeedInfo-To-Unconfirmed
It seems that the Epub Exporter only uses Level 1 headings and the heading at the start of a new page style to create its Table of Contents.
This does not work well, as it ignores all of the Sub-headings that should also be in the Table of Contents in a longer work and even inserts weird section 1 etc headings for Page styles that do not have any headings in them, such as the Title page, which should not be in the Table of Contents.
The Exporter should just use the Headings that the writer has used, and perhaps even give them the option of selecting which Heading levels they want used in the Table of Contents (eg Heading levels 1 and 2, but not 3 etc...)
*** This bug has been marked as a duplicate of bug 114164 ***