I am trying to convert an MS Word document to ePub using Calibre tool. The concerned document is created by Calibre. Now in the epub,the headings and images are not coming in the center(when I test with different epub readers).
Trying to correct it. I believe it has to mentioned in the code that the alignment of these has to be in the center. If I share the code, can you help with it? Is it possible that I can paste the code here?
I am new to coding. I got a file called index.html. The first 2 lines in it are given below.
By the look of that code above, it’s an XML file, which is the norm for epubs.
I’m not familiar with Calibre, but I’d suggest looking into its documentation to see what it’s expecting from you. Web designers are always wary of Word, as it tends to bring a lot of ugly and troublesome code along with it. It might at least be worth looking at a cleaner format to start with (Markdown, or plain text?) so that you’ve not dumping a lot of Word garbage into Calibre.
The namspace indicates it’s intended to be XHTML though whether or not it’s “pseudo” XHTML or “real” XHTML depends on what HTTP headers are being sent with it.