Showing posts with label table of contents. Show all posts
Showing posts with label table of contents. Show all posts
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 (http://www.smashwords.com/).
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.
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.
In summary this is what you need to do:
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.
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
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.
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! ;-)
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! ;-)
Subscribe to:
Posts (Atom)








