I shall be self-publishing to finished product (and subsequent products!) into next year and Scrivener's e-book generation was an added bonus when the feature was introduced. However, I have a few concerns about the actual quality of the ePub data the software produces.
Bit of a disclaimer: my day job is software development and has been for over 20 years. I have been involved with anything from games development on consoles to high profile business applications across multiple platforms. In short, I know my way around software.
So naturally, when I exported my first proof of my book to ePub from Scrivener, I immediately extracted all the files from the Zip file to see what was generated. While the meta-data is generally OK, the HTML is less than perfect.
Because Scrivener is a word processor and not an HTML editor, I suppose some of the intricacies of polished HTML generation is lost based on the flexibility of the word processing and formatting...
Code: Select all
<p style="text-align:center; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; page-break-before:always;"><span style=" font-family:'Garamond'; font-size:16pt; font-weight:600;">Chapter Twenty-One</span></p>
However, that is just awful -- and every paragraph in the entire book is composed of in-line style sheets such as this. As I am primarily looking to ship my books digitally, if I have to modify the ePub generated in the future for whatever reason, cleaning up the HTML is going to be a real chore.
I realise this is more of a niggle than serious functionality failure, but there is a lot of unnecessary mark-up in the HTML, most of which can be normalised into the single CSS file that Scrivener generates anyway.
Also, is there any way to customise the generated human-readable contents.xhtml file?