Archive for May, 2014

zencover I honestly had not expected how much work it would be, putting together my book Zen of eBook Formatting. After all, I had the blog tutorial to build upon, and yet, it took me many months to flesh out the final book, add in all the little details and additions, and tweak it to make sure it is as accurate as I can make it. Part of it had to do with the fact that eReaders have turned into a sea of incompatibility.

eReaders have turned into a sea of incompatibility

While the original “Take Pride in your eBook Formatting” tutorial is still every bit as relevant and applicable today as it was when I first published it a few years back, as soon as you want to go beyond the most basic formatting features, you get caught up very quickly in the morass of device limitations and quirks.

With each new device generation new problems are being introduced, and considering that we are now looking at fifth or sixth generation devices, one can quickly get lost in the maze of dos and donts of eBook formatting.

I am not pointing fingers here because every manufacturer contributes to the problem. Apple with its incompatible ePub implementations in iBooks for one, Amazon for other limitations and countless firmware bugs, Barnes&Noble for a different set of firmware bugs. Each of them making it harder for eBook formatters to navigate these waters and create reliable products.

Switching a font face, for example should be a completely trivial thing. According to the HTML standards which underly both the MOBI and EPUB format, you should be able to switch fonts anytime on a block level. Sadly, this is not true in the world of eBooks.

Typically a code snippet like this should work fine on any device, assuming we have a span style called “newfont” that sets a different font family.

<p>Let’s <span class="newfont">switch the font</span></p>

Sadly, all of Apple’s iBooks devices and software do not follow this standard. Not even a snippet like the following one works.

<p class="newfont">Let’s switch the font</p>

iBooks does not recognize font family settings in <p> and <span> elements, which is completely inconsistent with HTML standards. It is not a mere oversight, however, because Apple has been dragging this problem through all iterations of iBooks, since its inception years ago. One can only wonder what Apple’s software engineers are thinking.

If device manufacturers would stick to the standards in the first place, hacks like these would not be needed

I found that oftentimes I have to double-stitch solutions, nesting different solutions, so that if one doesn’t work there is always a fallback. The work-around to fix this particular problem is to use another block-level tag in order to pass the information to iBooks.

<p>Let’s <span class="newfont"><cite class="newfont">switch the font</cite></span></p>

While this is not the most elegant solution, and purists will scream out at the misuse of the <cite> tag here, the reality of things is that as eBook formatters we currently cannot afford to be purists. We need formatting challenges solved and in this case <cite> addresses a very specific problem. If Apple would stick to the standards in the first place, hacks like this would not be needed.

I found that the same kind of double-stitching is sadly needed if you want to strike out text, as in draw a line through it. It is not a very commonly used text feature, but if you need it, it is imperative that it shows up correctly.

Instinctively you would use the <strike> tag, which has been part of the HTML vocabulary since its inception. <strike>, however, has been discontinued with the HTML5 standard, and as a result there are now eReaders that no longer support it. They require the <del> tag instead, which, quite by coincidence, is not supported by some older devices, of course.

As in many cases, double-stitching the solution is the way to go for me and whenever I have to strike out text, it will look like this.

<p>This is how you <strike><del>strike out</del></strike> text.</p>

Once again, not the most elegant solution, but as you format eBooks, you will have to get used to seeing things such as this more and more often. As I said, with every new generation of eBook devices, the number of these types of inconsistencies will grow and the need to find and apply band-aid solutions will sadly grow with it.

If you want to find out more about basic and advanced eBook formatting techniques, make sure to check out my new book Zen of eBook Formatting, which details all the necessary steps to create professional-grade eBooks.


If you want to keep up with my eBook formatting work, don’t forget to subscribe to my Zen of eBook Formatting Newsletter. That way I can keep you updated about the latest developments, updates to my book, code snippets, techniques and formatting tips.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

The past months I kept myself busy completing a new book on the subject of eBook formatting, as many of you may know. I am happy to announce that the book is finally available! For only $5.99 you can now benefit from the years of experience I have had as a professional eBook formatter, learning the ins and outs and the tricks of the trade I have applied to many hundreds of eBooks from New York Times bestselling writers and indie authors alike.

zencoverZen of eBook Formatting is in the same vein as my “Take Pride in your eBook Formatting” tutorial series, but it goes way beyond that, as it is vastly expanded and updated. Whether you are a PC or a Mac user, in the book I am taking readers through the entire workflow that I am using every day for the projects I am working on for my clients. In an easy to understand manner—I hope—I am not only listing the steps, but also explain why these steps are necessary and why I do things the way I do them. The result is a tutorial-style self-help book that is chock full of examples, tips, tricks and coding snippets.

Having formatted close to 1,000 eBooks at this time, I am covering the entire process, from the basic manuscript cleanup, to the basics of HTML and simple markup, all the way to advanced techniques that allow you to add an incredible amount of polish to your eBooks without necessarily sacrificing device compatibility.

Just to give you an impression of the breadth of subjects I am covering, here is the Table of Contents for you.

Table of Contents

  • Preface
  • Introduction
  • 1 – The Road to Right
    • Understanding eBook readers
    • Why you should not use a word processor
    • The road to Right
    • Tools of the trade
  • 2 – Data Structure
    • HTML
    • CSS
    • Prepping your style sheet
  • 3 – Cleaning Up the Manuscript
    • The Power of Em
    • Time to clean up your manuscript
    • Fixing up styles
  • 4 – From Word Processor to Programming Editor
    • Nice, clean and predictable in HTML
    • Paragraphs are the meat
    • Fleshing it out
    • Dealing with special characters…the right way
    • A word about fonts
  • 5 – General Techniques
    • Centering content
    • Images
    • Image resolution
    • Chapters
    • Typography and Layout
  • 6 – Advanced Techniques
    • Chapters
    • Initials
    • First-line capitalization
    • Formatting inserts and notes
    • Formatting emails and text messages
    • Image blocks with byline
    • Custom fonts
    • Linking to the outside world
    • Lists
    • Backgrounds and Color
  • 7 – eBook Generation
    • eBook formats
    • Meta-Data
    • The Cover
    • The TOC in the digital world
    • Calibre
    • More control with XPath
    • KindleGen
    • Error-checking
  • 8 – eBooks Outside the Box
    • A Word about Fixed-Layout Books
    • Preparing for Smashwords
  • Parting Thoughts
  • 9 – Appendices
    • Chart of named entities
    • Resources
  • About the Author
  • Also by Guido Henkel

The key to me, when putting together this book, has been to make it possible for anyone to create an eBook that has a professional level of presentation. Too many authors use shortcuts to create eBook version of their manuscripts, flooding the market with broken and sub-par product that leaves a bad taste in readers’ minds, when in fact, applying a little bit of discipline could elevate them from that riffraff and make their books like a million bucks.

Zen of eBook Formatting is targeted at all those of us, who care about their books, not only the words we wrote, but also that they are presented to the reader in a clean and professional manner that works on as many eReaders as possible. Hopefully, with Zen of eBook Formatting at hand, this goal will be within reach for many more authors.

Grab your copy of the book an Amazon now!


If you want to keep up with my eBook formatting work, don’t forget to subscribe to my Newsletter. That way I can keep you updated about the latest developments, updates to my books, code snippets, techniques and formatting tips.

Facebooktwittergoogle_plusredditpinterestlinkedinmail