There are several reasons to generate a clean EPUB.
Consistency. Consistent styles to maintain the same look and feel across platforms.
Simplicity. With fewer interactions between CSS styles, changes are easier to implement and track.
Human readable. Easy to find chapters, sections and styles.
Convertible. Simple styles lend to consistent conversions between formats. Creates Microsoft Word documents with fewer embedded Styles.
Of course, there are disadvantages.
Investment. Generating documents requires time and effort. However, since the the styles are reusable, the level of effort for future releases is reduced.
Technical knowledge. This requires more than a passing familiarity with Markdown, XHTML, CSS, and Calibre. However, there is pleny of documentation available online to help.
While the disadvantages can dissuade people from experimenting with this capability, I found it simplified my eBook submission process. I can target Draft2Digital, Google Play, and Amazon Kindle, using one EPUB, and maintain advanced formatting like realistic text messaging throughout.
This tutorial focuses on features Calibre offers to make EPUB management easier. These tips and tricks may prove invaluable for debugging an eBook in the future.
Designers can implement CSS styles that creates realistic Text message conversations. These elements reflow automatically, maintaining a consistent look and feel across devices.
The challenge in designing eBooks are the unknowns. It’s impossible to know what devices your readers will use and these uncertainties stack up. Some of these elements are:
Fonts can be embedded into an EPUB to control the look and feel. However, there is no guarantee that Amazon, Apple, Google, or Kobo will not strip them out in favour of their own. E.g., Bookerly on Kindle platforms.
It’s important that an EPUB reflow its content to adjust to changes in any of the above elements. A book that reflows ensures a quality reading experience for the reader.
To start the process, add the following CSS style to your EPUB‘s stylesheet. This document is normally named stylesheet.css in a Calibre generated eBook.
Instead of using pt, or px to define the dimensions, we use em. This type of measurement is relative, enabling the document to adjust automatically when the user changes fonts or size.
The next step is to go through every chapter and find the first paragraph. While the converted document’s formatting will differ from this example, it will look similar to this:
Default Code
<body>
<h1 class="blockFirstTop">THE VAN HELSING INCURSION</h1>
<h2 class="blockFirstChapter">CHAPTER 1</h2>
<p class="blockSubtitle">THEY’RE MAGICALLY DELICIOUS</p>
<p>Clara had been lying flat against the snow-covered ground
since the witching hour. The sky was taking on red hues,
and the moon would soon secede its dominion over the
celestial plain.</p>
<p>She maintained a low heart rate while her movements were
kept to an absolute minimum. Freshly fallen snow had
accumulated during the night, all of which helped to
conceal her position.</p>
Output
Screenshot of an EBook with no drop character
For a drop character the first letter of the paragraph must be wrapped in a SPAN with the class defined. Once the changes are made, the preview panel will update the look and feel.
For a consistent display of drop characters, consider:
Remove the first quotation mark prior to wrapping the character; and
Remove additional formatting like bold or italics.
Adjusted Code
<body>
<h1 class="blockFirstTop">THE VAN HELSING INCURSION</h1>
<h2 class="blockFirstChapter">CHAPTER 1</h2>
<p class="blockSubtitle">THEY’RE MAGICALLY DELICIOUS</p>
<p><span class="dropCharacter">C</span>lara had been
lying flat against the snow-covered ground since the
witching hour. The sky was taking on red hues, and the
moon would soon secede its dominion over the celestial
plain.</p>
<p>She maintained a low heart rate while her movements were
kept to an absolute minimum. Freshly fallen snow had
accumulated during the night, all of which helped to
conceal her position.</p>
Output
Screenshot of an EBook with a visible drop character
That’s it!
Note
The look and feel may change based on the rendering engine. Viewing it on Google Play Books may have a a different reading experience Apple iBooks, or Rakuten Kobo.
Julia is a werewolf who turned against her pack and saved an innocent life. As a reward for her good deed, she ends up in prison, but thrives while others like her waste away.
She may look like the Little Red Riding Hood, but she really is the wolf.
On the eve of a full moon, an unknown benefactor arranges for Julia’s release. Faced with the prospect of returning to the city that nearly killed her, she opts to disappear into the surrounding woods.
This is the opportunity she needs to find herself and reconnect with the wild. As her past resurfaces, the supernatural and dark elements within humanity take notice of her.
Before reading on, be sure to consider: She may look like the Little Red Riding Hood, but she really is the wolf.
…There’s a sinister plot with some shady creatures, vampires going through their motions and a whole lot of naked ladies all the way through. This book hits all the right notes and I cannot wait for the third book in the series.
What’s not to like about that?
Please take the time to watch his review and subscribe. He has a lot of reviews that are worth looking over!
Patrick provides an in-depth review of my two books, and makes a few guesses on what is to come. For those leery of spoilers, the author did a great job of warning you before reaching content that could spoil the read.
One of my favourite quotes from the review appears early on:
What I really love about Ms. Chartres’ writing is how she balances character moments, action and gore, with some intimate scenes thrown in for good measure.
I’d like to take the time to thank Patrick Webb for this lovely review. It is truly a blessing to have the opportunity to see how much a reader enjoyed one of my works. Thank you!
A lovely review from Rachel Bross, author of Graham Whitiker: They Call Him Traitor on The Grand. Featured on her YouTube Channel, this episode of Make a Writer’s Day talks about household gumball machines, ant colonies, book covers, and of course book reviews. Please note, that if you want to skip to the reviews, forward to 19:00 minutes in.
I encourage you the time to watch her review and subscribe to her channel. She covers a wide variety of topics related to writing, and will review whatever she has a chance to read!