View Single Post
Old 12-19-2019, 09:23 AM   #3
aap
Member
aap began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Device: HTML
OK.

Attached are screenshots from a simplified four level docx file.

The first shows the Table of Contents that Word generates from the body text which follows. The body text are "Heading 1" - "Heading 4" styles.

The results files show the .html and EPUB output from Calibre. In the body text, the numbering on the level 4 heading is missing and the margin offset for the Level 3 title is incorrect.

The .html shows that the first three body text headings are generated with div's but the level 4 heading is generated as an H4 tag.

So the Table of Contents generated by Calibre is correct, but the body text does not follow the docx source.

How to resolve this ?
Attached Thumbnails
Click image for larger version

Name:	word source.png
Views:	216
Size:	21.7 KB
ID:	175721   Click image for larger version

Name:	calibre html output.png
Views:	291
Size:	25.8 KB
ID:	175722   Click image for larger version

Name:	calibre epub output.png
Views:	223
Size:	25.8 KB
ID:	175723  
aap is offline   Reply With Quote