Bug 121146 - Problem with table of contents in epub
Summary: Problem with table of contents in epub
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
: 131410 131514 (view as bug list)
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
Reported: 2018-11-03 15:43 UTC by Kirk Sauber
Modified: 2020-09-22 06:16 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Sauber 2018-11-03 15:43:02 UTC
I created a document with a Table of Contents, but when exported to epub format the Table of Contents is not there.   I have tested this in both OSX and Linux with the same result.

Also, I'd like to request an option to not include page number in the TOC function  as page numbers are frequently meaningless depending on the screen size of the viewing device.

Steps to Reproduce:
1. Create Table of Contents (TOC) for document
2. Export document to EPUB
3. View with EPUB reader -- TOC is missing

Actual Results:
TOC is missing

Expected Results:
TOC should be there

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
Put TOC in the EPUB exported file
Comment 1 raal 2018-11-07 17:07:51 UTC
Confirm with Version:
Build ID: b0da1ca2d7a426ff13f39b21362fbcd5c0580c24
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;
Comment 2 Xisco Faulí 2018-11-08 10:59:16 UTC
@Miklos, I thought you could be interested in this issue...
Comment 3 Cor Nouws 2018-11-08 22:02:45 UTC
Hi Kirk,

I confirm what you see. This part of export hasn't been implemented yet.

Comment 4 lbartolome 2018-11-16 18:37:30 UTC
Another issue with the TOC is that if you're exporting the epub with an odt with blank section pages (using not a master document but including these to start chapters on a right page), those pages are also included both in the TOC as section X and the epub.
Comment 5 Xisco Faulí 2020-03-19 11:43:58 UTC
*** Bug 131410 has been marked as a duplicate of this bug. ***
Comment 6 Dieter 2020-09-22 06:16:49 UTC
*** Bug 131514 has been marked as a duplicate of this bug. ***