Conversion from ODT to EPUB ignores "restart numbering" in numbered lists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
New
|
Undecided
|
Unassigned |
Bug Description
• Calibre version 6.16
• Operating system Linux Ubuntu 22.04
Summary: When converting an ODT document to EPUB, "Restart numbering" in a numbered list is ignored.
How to reproduce:
1. Create an ODT document, e.g. with LibreOffice.
2. Create two or more independent numbered lists.
3. Assign a numbering style to each list, e.g. the built-in "Numbering ivx". Each list continues numbering from the previous list.
4. Set "Restart numbering" on the first item in each list. Each list begins with 1 (or "i" or "a" depending on the style chosen).
5. Add the document to Calibre.
6. Use Calibre to convert the document to EPUB.
7. View the generated EPUB document.
What to expect:
1. Each list begins with 1 (or "i" or "a" depending on the style chosen).
What actually happens:
1. Each list continues numbering from the previous list.
This happens whether choosing EPUB version 2 or 3.
Sample ODT and generated EPUB documents attached. ODT document created with LibreOffice version 7.5.2.2.
I have discovered a workaround.
1. Export the ODT file as HTML.
2. Import the HTML file into Calibre, and convert that to EPUB.