View Single Post
Old 02-25-2024, 07:33 AM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,321
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Calibre is not converting docx Levels to H tags!

Mysteriously I couldn't find any VM with Windows and Word 2007. They all have Word 2002/XP, which can only even read docx with a plugin.

My WINE has Word 2003, which isn't much better, except it works on WINE.

So I installed my Word 2007 on my licensed Win10 VM and amazingly the online registration worked.

Anyway, eventually I figured the stupid ribbon and found Document Map and Paragraph styles. Those should be open by default and I have the LO equivalent always open, either docked or floating depending on screen.

The docx export from LO Writer 7.4 was perfect. All the Chapter heads were Level 2. All other styles also correct. The appearance also matched.

So Calibre is no longer converting docx Levels to H tags! Though it's doing most of the TOC and file breaks correctly. I'm nearly sure it used to,

Note that the paragraph names in docx and odt that are not body text and have a Level don't have to have Heading in the name. Perhaps that's the issue? Curiously the CSS is correct. It's only the H tag that's missing.
Quoth is offline   Reply With Quote