BR/Koval -
After wandering through the catacombs of Word's bizarre styles dialogs, here's a solution.
Heading3 did indeed have a buried alignment and indent setting (Heading3 Styles problem.png)
To resolve this and the Heading4 missing list level number in the body text:
Step1: Change Heading3 indent and alignment to match Heading1 and Heading2 (1. fix H3 indent.png)
Step2: Select Heading4 and change to match Heading3 (2. update H4 to match selection.png)
Step 3: Change Heading4 to List Level 4 (3. change list level.png)
Step 4: Insure Heading4 number values are 1.1.1.1 (4. set number value.png)
After processing through Calibre with the flow DOCX>HTMLZ>ZIP, the resulting HTML is now correct !!! (firefox rendering.png)
Modified DOCX source (test-docx.zip) and Calibre HTML output (test calibre out.zip) are included.
So it is indeed possible to do the 4-level chapter and TOC with Calibre 4.6.0.
Thanks to all for your help.
|