Copy link to clipboard
Copied
Hi everyone,
Thank you in advance for your help.
I am currently in the process of generating an ebook and the issue that I'm having is that any centred text doesn't seem to be carrying over when I then go to check it in Sigil.
I have had a pop-up in Sigil as well that has not cropped up before, which reads:
This EPUB has HTML files that are not well formed or are missing a DOCTYPE, html, head or body elements. Sigil can automatically fix these files although this may very rarely result in minor data loss in extreme circumstances.
Do you want to automatically fix the files?
I'm not too sure where I'm going wrong with the code to be generating this message. I've also tried reinstalling the Sigil app for an update to no avail. If it's of any relevance, I'm working on the 2020 Macbook Air.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you for your reply.
To answer your questions:
Copy link to clipboard
Copied
There are many basic rules to follow and details to mind when setting up an ID document for EPUB. Here's an informal list of the important ones: https://nitrosyncretic.com/DPR/dpr_indesign_epub_basics.php .
You don't say whether you are exporting to fixed layout or reflowable. Most fixes and control apply to the latter; there is next to nothing that can be done with FXL except get the export document correctly set up. But a single text flow is essential for both.
Sigil is of little use or value when exporting to EPUB from tools like InDesign. It's more suited to the old model of "build a book" from component files, where many mistakes can be made and cross-editing them is a given. From InDesign, it's either get it right in the source or you won't get a useful/expected export, with very few instances of anything that can be "fixed" later.