Monday, 21 March 2011

Publishing To Smashwords, Kindle, Apple and More...

 So you’ve published your novel for Kindle, but what about selling it in the Apple Store or on Barnes and Noble? One way of doing this is to republish the book to Smashwords (

To do this you may need to reformat your Word document slightly. As with Kindle publishing, you will have fewer problems if you keep the format very simple. So avoid fancy fonts, don’t use tables, don’t use hard tabs, and don’t do anything fancy such as columns or wrap-around graphics. And do read the Smashwords Style Guide which highlights the DOs and the DON’Ts of formatting for Smashwords.

Once your Word document is ready to go (it needs to save saved as a .DOC file rather than .DOCX), you are ready to upload it. Unlike when formatting for Kindle, you don’t have to do any file conversion first – so no need to save as HTML and run it through the MobiPocket Creator. Once it’s uploaded, Smashwords runs your document through what it calls the ‘meat grinder’. This is a program that converts your Word file into a number of different documents formatted for Kindle, EPub (for Apple devices), PDF and several other formats.

If the meat grinder finds any problems, it warns you and you should go back and fix them before re-uploading. For example, when I uploaded my book, it objected to my Table Of Contents. As I’ve explained previously, when preparing a book for Kindle, you can use Word’s automated TOC generator to create a hyperlinked Table Of Contents. Unfortunately, Smashwords doesn’t like this. If you want a TOC, you have two options: either you can create named bookmarks one at a time for each chapter and then create hyperlinks to them or you can name each chapter ‘Chapter 1’, ‘Chapter 2’ (etc.) and leave Smashwords to auto-detect your chapter headings and generate a TOC based on them. The former approach gives you more control, the latter approach is a great deal easier. Suffice to say, I went for the latter. The ins and outs of this are explained in the Style Guide so be sure to read it.

Anyway, it’s to your benefit to try to avoid these formatting problems before you upload your book. Once uploaded, your book goes into a queue behind, potentially, hundreds or thousands of other books waiting to be processed. In my experience it can take about twelve hours or so between uploading your book and having it processed by the meat-grinder. If you need to make any changes, you’ll have to go through the whole process (and the twelve hour wait) all over again.

Assuming all is well, your book will now be published on the Smashwords site and it will be submitted for ‘Premium’ distribution. And that’s where things start to get really interesting.

If your book is accepted for the Premium Catalogue it will be distributed, at no cost to you, to a number of retailers including Apple, Barns and Noble, Sony, Kobo (and others). So now your potential readers are a) not restricted to buying from Amazon (I’m assuming you have already uploaded your book to Amazon as explained in previous blog posts) and b) not restricted to reading it on a Kindle or via Kindle-reader software. They can read it on iPads or other reader hardware if that’s their preference.

At any rate, I’ve just uploaded my book (it’s page is HERE) and I am now waiting for it to be manually reviewed to see if it is accepted for the Premium Catalogue. More on its progress soon...

Monday, 7 March 2011

How To Create A Kindle Table Of Contents

When the time came for me to test out my book in the Kindle Previewer, everything was find any dandy – apart from one thing: the pesky table of contents.

There was nothing wrong with the Table Of Contents itself. I’d created one in Microsoft Word and it had been correctly built into my Kindle eBook. It listed all my chapters and when I clicked a chapter entry, it took the reader to that chapter.

The thing that wasn’t working was the Kindle’s built-in navigation to the Table Of Contents (from its ‘Go’ menu which is accessed in various ways according to whether you are using a hardware or software Kindle Reader). Every time I clicked this option I saw this error message...

I spent a couple of days trying to find and fix this problem. I searched numerous web sites and forums and found many explanations, most of which were either incomplete, incomprehensible, vague or just plain wrong. Anyway, I eventually found the solution and in this article I’ll explain all the steps you need to take in order to add a fully functional Table Of Contents.

Create The Table Of Contents

First, you need to generate hyperlinked Table Of Contents. I am going to assume you will do this using Microsoft Word. If you’ve never made a Table Of Contents in Word before, the easiest way to do so is to format all your chapter headings as an outline. You can see the Outline structure either by selecting View/Outline or (as I prefer) by displaying the Document Map, View/Document Map.

Make your Novel Title the root of the Outline (press SHIFT+ALT+Left Arrow) or select the Heading1 Style from the Home toolstrip. For each chapter, either select Heading 2 or indent one level (press SHIFT+ALT+Right Arrow). The end result should be that you have your novel Title shown as the ‘root’ at the top and the left-most level in the Document map and the chapters each indented one level below that.

When you want to generate your Table of Contents, go to a blank area, typically close to the front of the book and select References/Table Of Contents/Insert Table Of Contents.

Set Show Levels to 2 (or 3 if you have more levels in your outline) and turn off page numbers since Kindle books don’t have fixed page numbering. You can also click the Options button to tailor which styles are used to create TOC entries if necessary. When you’ve finished, click OK and Word will insert the Table Of Contents.

You may need to delete items that you don’t want there – for example, the root item (the name of your novel).

In order that Kindle can find your Table Of Contents you also need to insert a bookmark called “toc”. To do that, position your cursor immediately before your Table Of Contents and select Insert/Bookmark. Enter toc and click Add. You should also add a start bookmark at this stage. Position your cursor at the logical start of your book (that is, before the first paragraph of chapter 1), select Insert/Bookmark. Enter start and click Add.

Now save your text as filtered HTML, as explained in my last Blog post. You are now ready to generate your book using the Mobipocket Creator, the basics of which were also explained in my previous post.

Create Your Kindle Document

In summary this is what you need to do:

Step One – Import Your Document

1) You’ve already saved your Word document in Web Page, Filtered HTML format. Let’s assume this file is called MyNovel.html and it’s in the C:\KindleDocs directory.
2) Load Mobipocket Creator.
3) Click Import From Existing File/HTML document.
4) Click Browse to Choose A File. Pick your file – for example, C:\KindleDocs\MyNovel.html.
5) Select a folder into which you want to place your finished publication. Again you may browse to this. Let’s assume the Publication folder is: C:\KindleDocs\Publish
6) Click Import

Mobipocket Creator should now confirm that your file has been imported.

IMPORTANT: At this point you should have two important directories – your Source Directory (containing your original documents) and your Publication Directory (containing files created or copied by Mobipocket Creator).

In my example, my Source Directory is: C:\KindleDocs
My Publication Directory is C:\KindleDocs\Publish

Mobipocket Creator will make subdirectories beneath the Publication Directory and in one of these subdirectories there will be a copy of the original HTML file. For example in my case this is in: C:\KindleDocs\Publish\MyNovel.

Now, to make the TOC and Start links operational, I have to add some ‘Guides’ which refer to the bookmarks in my HTML file.

Step Two - Add 'Guides'

1) Click View/Guide in Mobipocket Creator
2) Click New Guide Item
3) Select Type/toc
4) Add a Filename and a toc link following a hash (#) character.
To do this, click Browse and browse to the COPY of the html file under your Publication Directory – e.g. : C:\KindleDocs\Publish\MyNovel\MyNovel.html. DO NOT browse to the original html file (e.g. : C:\KindleDocs\ MyNovel.html)!
Now edit the file name by appending #toc
The full entry in the File Name should now be the file name itself plus #toc – for example, MyNovel.html#toc
5) Add a start link in the same way. i.e. Click New Guide Item. Select Type/start and browse and edit the file name by addng #start at the end. The text in the file name field should be something like: MyNovel.html#start
6) Click Update

Step Three- Add Cover Image

If you have a cover image add this now.
1) Click View/Cover Image
2) Click Add Cover Image
3) Browse to your Cover image (suggested format JPG, 800x600).
4) Click Open then Click Update.

Step Four - Create Your Publication

You are now ready to generate the finished publication.

Click the Build icon at the top of the screen. Then click the Build button.

If there are any errors or warnings, review these now. If, for example, you added Guides to your original HTML file (in the Source directory) rather than to the one that Mobipocket Creator copied into your Publication directory, you will see Link errors. Guides must be applied to the HTML file in the Publication directory only.

Your publication is now created as a file ending with ‘.prc’ in your Publication directory. Load this into a Kindle Reader or the Kindle Previewer as explained in my last Blog entry. You should now be able to click the Go menu and select Cover, Beginning or Table of Contents to go immediately to your cover image, the text marked with the ‘start’ bookmark and the Table Of Contents marked with the ‘toc’ bookmark.

The proof of the pudding is in the Publishing. I’ve just published my Kindle book on Amazon and if you’d like to verify that my Table Of Contents is full functional, I’d be delighted if you would buy a copy. Naturally, I’d be even more delighted if you then read the book! ;-)

Friday, 4 March 2011

Kindle Publishing, First Steps

You’ve written your book and you are ready to publish it for Amazon Kindle. And (to quote the late, great Elvis Presley) that’s when your heartache begins...

Having previously published a book with Lulu, I was expecting the Kindle publishing process to be similar. That is: you save your book as a PDF file to provide pixel-perfect formatting, upload it and you’re done. Nope, that isn’t the way Kindle works...

This first big shock was that the Kindle preferred document format is not PDF, not PostScript, not LaTeX, not, in fact, anything that is widely used for accurate printing and publishing. On the contrary it is (are you sitting comfortably? I warn you, this may come as a shock...) HTML.

When someone first told me this, my immediate reaction was that they must be wrong. Nobody, but nobody would format a book in HTML. I mean, HTML is a horrible, clunky formatting so-called ‘language’ used for Web pages. Anyone who’s designed Web sites knows that the formatting capabilities of HTML are primitive. It would be next to impossible to lay out a single page of a glossy magazine such as ‘Vogue’ in HTML let alone a whole book.

Even so, HTML is what Kindle uses. And it’s a very basic form of HTML at that. You can’t use complex styles. And if you enhance your text with a variety of fancy fonts, Kindle will disregard the fonts when you publish the book. In fact, just about the only stylistic effects permitted are indentation, bold text, italics, headings and justification.

To get started you need to sign up at Amazon’s Kindle Direct Publishing (KDP): Here you will find a number of guides in the support area: One of the problems with these guides is that they are scattered around all over the place. You have to browse down into nested sections in order to locate numerous stand-alone articles. What you won’t find (bizarrely!) is a Kindle book that gathers together all the essential help in one place.

Let me save you some browsing time. The place to start is support article #533 in the Getting Started Guide Section: “Simplified Guide to Building a Kindle Book”. This assumes you will be using Microsoft Word. It tells you how to generate the final text by a) saving the file as ‘Filtered HTML’ (Word provides this option) then b) importing the text using a free tool called the Mobipocket Creator which you can download here: You can add a cover image at this point. As it’s a bit vague on the size and format, let me help you. Use a JPEG format image that is 600 pixels wide and 800 pixels high. Then you click Mobipocket Creator’s Build button to generate the Kindle-formatted output (a file that has the extension ‘.prc’).

Create a Kindle Book in 5 Easy(ish) Steps
First save the Word document as Web Page Filtered
In Mobipocket Creator, click the option to import an HTML document
Browse to your HTML document and click Import
Click the Mobipocket Creator’s Build icon
Click its Build button to create a Kindle-format ‘.prc’ file

You now need to check that your eBook looks OK. It almost certainly won’t, so don’t panic. If my experience is anything to go by, you will be going backwards and forwards between Word and the Mobipocket Creator many times making changes and regenerating the book before it looks anywhere close to ready-to-read.

The quickest way to verify the appearance of your book is by using the Kindle Previewer and a Kindle Reader for your Desktop computer.

The Kindle Reader has the benefit of formatting the text to fill the screen. However, this is not a good representation of the much smaller display of a Kindle reading device. The Kindle Previewer deliberately restricts your view to a Kindle-sized screen. However, in my experience, some formatting effects vary between the two pieces of software so you may want to check that the display of your book is at least acceptable on both.

Download the Kindle Previewer here:

Download a Kindle Reader here (available for PC, Mac, iPad, Android etc):

Finally, test out your Kindle book. Having installed the Kindle Reader for Windows (seen in the background) I can double-click my prc file to load it. I can also load it into the Kindle Previewer (foreground) from its File menu. The text looks nicer in the Reader but the Previewer is a more accurate representation of the book’s appearance on Kindle reading hardware

For more help on formatting your book for Kindle, I’d recommend the following two sites: (excellent overview of using Word for Kindle) (lots of invaluable articles)

At the time of writing, I still haven’t solved all my Kindle formatting problems and I’ll be soon writing more articles here on the Blog to discuss specific issues. If you are interested in publishing for Kindle, be sure to bookmark this Blog. I plan to talk you through my own experiences and the experiences of other Kindle authors in the months (and, I hope, years) ahead.