Make an ebook in an Afternoon

Similar documents
A Short Guide To Preparing Your Files for ebookit.com s Free epub Conversion Service

Kindle Formatting Guide

FORMATTING INSTRUCTIONS FOR KINDLE. You will need to download the free programs Sigil, Calibre and Amazon Previewer.

How to Export Your Book as epub and Mobi file formats with Microsoft Word and Calibre

Moving from FrameMaker to Blaze: Best Practices

How to Prepare a Digital Edition PDF Book With Adobe InDesign

Kindle Create User Guide

ORB Education Quality Teaching Resources

Site Owners: Cascade Basics. May 2017

How to Make a Book Interior File

Page design and working with frames

KINDLE CREATE USER GUIDE

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

How to lay out a web page with CSS

FILE TYPES & SIZES BOOK COVER

Graduate Health Sciences Word Topics

Microsoft Expression Web Quickstart Guide

Quick Start Guide - Contents. Opening Word Locating Big Lottery Fund Templates The Word 2013 Screen... 3

Microsoft Word Part 3 Office 2013

How To Get Your Word Document. Ready For Your Editor

INTRODUCTION... 1 LONG DOCUMENTS V SHORT DOCUMENTS... 2 SECTION BREAKS... 2

Microsoft Word 2011 Tutorial

Drupal Cloud Getting Started Guide Creating a Lab site with the MIT DLC Theme

Copyright. For more information, please read the Disclosures and Disclaimers section at the end of this ebook. First PDF Edition, February 2013

Dreamweaver MX Overview. Maintaining a Web Site

Using Dreamweaver CS6

Introduction to the MODx Manager

How to Prepare a Digital Edition PDF Book With Microsoft Word

CROMWELLSTUDIOS. Content Management System Instruction Manual V1. Content Management System. V1

Creating tables of contents

Karlen Communications Track Changes and Comments in Word. Karen McCall, M.Ed.

In the fourth unit you will learn how to upload and add images and PDF files.

The Newsletter will contain a Title for the newsletter, a regular border, columns, Page numbers, Header and Footer and two images.

Lutheran High North Technology The Finder

CONVERSION TRACKING PIXEL GUIDE

Tips & Tricks Making Accessible MS Word Documents

Website Updates Made Easy

This book will help you quickly create your first documents, spreadsheets, and slideshows.

Lava New Media s CMS. Documentation Page 1

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

TekTalk Word 2007 Notes

Exploring the Interface

Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1

Bonus Lesson: Working with Code

Word for Research Writing I: Text and Structure

MS Word Basics. Groups within Tabs

MAXQDA and Chapter 9 Coding Schemes

FrontPage 98 Quick Guide. Copyright 2000 Peter Pappas. edteck press All rights reserved.

CSS worksheet. JMC 105 Drake University

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

TLMC SHORT CLASS: THESIS FORMATTING

HEADINGS & TOCS IN WORD 2007

Arduino IDE Friday, 26 October 2018

How to get ebooks on to your Kindle

Word Tips & Tricks. Status Bar. Add item to Status Bar To add an itme to the status bar, click on the item and a checkmark will display.

Pathway: Configuration Tool & Print Via dialog box

Word Processing: Basic Skills

UAccess ANALYTICS Next Steps: Creating Report Selectors

HOW TO UTILIZE MICROSOFT WORD TO CREATE A CLICKABLE ADOBE PORTABLE DOCUMENT FORMAT (PDF)

Joomla! 2.5.x Training Manual

A Guide to Blogging on Wordpress

Create and edit word processing. Pages.

Dreamweaver Basics Outline

Taking the Mystery Out of E-book Production. Larry Edwards Author, Editor, Publisher

Pathway: Configuration Tool & Export Through Pathway dialog box

ebooks at the Library Computers and ereaders

Acrobat X Professional

Microsoft FrontPage 2002 Tutorial. Contents

Sitefinity Manual. Webmasters. University of Vermont College of Medicine. Medical Communications

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

Microsoft Excel 2007

WYSIWYG Editor: Users Manual

eportfolio GENERAL USER

Word for Research Writing I: Text and Structure

Karlen Communications Word 2007 Settings. Karen McCall, M.Ed.

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Architectural Engineering Senior Thesis CPEP Webpage Guidelines and Instructions

epub Finishing Touches

DOING MORE WITH WORD: MICROSOFT OFFICE 2007

GOOGLE APPS. If you have difficulty using this program, please contact IT Personnel by phone at

Section 1. How to use Brackets to develop JavaScript applications

Word Processing for Dissertations

Basic CMS User Guide

CREATING CONTENT WITH MICROSOFT POWERPOINT

m ac romed ia D r e a mw e av e r Curriculum Guide

SlickEdit Gadgets. SlickEdit Gadgets

Introduction to Microsoft Office 2016: Word

Photoshop and Lightroom for Photographers

Microsoft Office Word 2010

Project Managers Specialty Guide to MS Project Issues

Nauticom NetEditor: A How-to Guide

Using Dreamweaver CS6

Starting Microsoft FrontPage 2003

Learn Dreamweaver CS5 in a Day

Introduction to Dreamweaver CS3

MadCap Software. Index Guide. Flare 2017 r2

Using Tab Stops in Microsoft Word

1.0 Overview For content management, Joomla divides into some basic components: the Article

Hands-on Session. Styles Tool. Bullets & Numbering

The first time you open Word

Transcription:

Make an ebook in an Afternoon How to make ebooks in the epub and MOBI (KF8 compatible) formats using free software. These instructions are intended as a how-to guide for making ebooks using free and widely available software. If you devote a couple of hours to following them, you should have a properly formatted, glitch-free ebook ready for publication. This lesson will show you how to make ebooks in the most widely used ebook format (epub) and then convert this to the Amazon Kindle format (MOBI). We ll be looking at the example of making an ebook version of a novel, but the same principles apply for books of short stories, poetry, non-fiction, etc. Before you start, you ll need to have the following things ready: The text of your book in rft (rich text) format. You can choose to save a document in rtf format from MS Word. Another rtf document containing the text of the jacket blurb and any review quotes. A high-res jpeg image of the book s cover (minimum 600x800 pixels). And you ll need to download and install these two software applications: Sigil. This is an open-source WYSIWYG (What You See Is What You Get) epub editing application. It's basically a split-screen xhtml editor that lets you see what your book's pages will look like as you make changes to the xhtml code. Download it from http://code.google.com/p/sigil/. Get the latest stable version you can run on your machine, as the later versions have more time-saving functionality. Kindle Previewer. This converts epub files to the newest version of MOBI (which is compatible with Kindle eink readers, the Kindle Fire and the ipad) and allows you to view them more or less as they will appear on a Kindle device. Download it at http://www.amazon.com/kindleformat/kindlepreviewer

Part One. Open the Sigil application. This will automatically open a new epub file. Save the file as the title of your book, e.g. Novel. Open the.rtf file of your book in either Text Editor (on a Mac) or Wordpad (on a PC). Copy the text of your book, excluding the title page, prelims and table of contents. and paste it into the Sigil page (which will automatically have been named Section 1 ). It should now look like this:

Now highlight the name of the first chapter, and from the drop-down menu at the top left of the menu bar, select Heading 2. The text should now look like this: Then go through the text, highlighting each chapter title and formatting it as Heading 2. You ll see the following 3 buttons at the top of the Sigil window: = Book view. This lets you see what the formatting will look like in the finished book = Split view. Click this button to see both the finished page and the xhtml code behind it. = Code view. Click this button to view the xhtml only. If you toggle to code view, and look closely a the xhtml, you ll see that tags have been attached to the text Chapter One, so it reads <h2>chapter One</h2>. This is because you formatted it as Heading 2.

It s worth noting at this stage that Sigil automatically generates a table of contents (TOC) for your book using the header tags you apply. The table of contents allows someone viewing an epub file on a reading device to navigate through the text. Sigil will look for the <h> </h> tags in the xhtml code, and add whatever text is between them to the table of contents. It does this on a hierarchical basis, with Header 1 being the top level, and Header 6 being the bottom level. E.g.: Chapter One (set in Header 2) Chapter Two (set in Header 2) Chapter Three (set in Header 2) Chapter Four (set in Header 2) Sub-chapter 1 (set in Header 3) Sub-chapter 2 (set in Header 3) Chapter Five (set in Header 2) and so on. Now toggle back to book view, using this button. At the moment, the chapter titles are aligned to the left, but you ll want to centre them. To do this, highlight your first chapter heading (e.g. Chapter One ) and click the centre text button on the menu bar: Now your book should look like this: If you toggle to code view, you ll see that some new code has appeared, as if by magic. The first bit to pay attention to is near the top of the page. It ll appear in khaki. <style type="text/css"> h2.sgc-3 {text-align: center;} </style>

This is CSS code. CSS stands for Cascading Style Sheets, and it s essentially a labour-saving way of implementing complex formatting throughout a document, by setting out some rules at the start. The CSS rule that has just been written is, as you might expect, about centring. The buttons on the menu at the top of your Sigil window will each implement different CSS rules. But to make a really nice looking ebook, it s useful to understand enough about CSS to be able to write it yourself. CSS rules have 3 components. The selector, the property and the value. In the rule: h2.sgc-3 {text-align: center;} h2.sgc-3 is the selector, text-align is the property, and center is the value. These rules are then imposed on the text itself using tags, like this: <h2 class="sgc-3">chapter One</h2> Because the text Chapter One is tagged with the selector <h2 class="sgc-3"> the corresponding CSS rule at the top of the document is applied, and the text is centred. Why use CSS? Well, you might want to implement formatting changes on multiple sections of text. It would take forever to write out all the different styles in tags around each bit of text you want to change. Instead, you can compile them as one CSS rule. The next section will require you to write some actual code. But don t be daunted! Yes, it looks like squiggles at first, but soon it will start to make sense, and once you ve learned a bit, you ll be in command of the formatting of your book. Now we re going to amend the CSS rule so that it centres not just the first chapter heading, but all text tagged in the Heading 2 style. To do this, go into code view and change the CSS rule: h2.sgc-3 {text-align: center;} to this: h2{text-align: center;} (all you re doing is deleting the code:.sgc-3) Now toggle back to book view and look at the page. All the chapter headings should now be centred. If it hasn t worked, go back into code view and check you ve got the CSS exactly right. In page view, you ll notice the body text is all left-justified, each paragraph is separated by a line break, and there are no indents. Yuk!

Let s fix that in the CSS. Copy these CSS rules (you should be able to copy and paste them from this pdf document): h2 {text-align: center;} p.sgc-2 {text-align: center;} h1.sgc-1 {text-align: center;} p.sgc-4 {text-align: center;} h4.sgc-2 {text-align: center;} h2.drop {margin 0 0 0 1em 0;} p {text-indent: 2em; margin:0 0.2em 0;} p.noindent {text-indent: 0; } and paste them over the line of CSS in the code view of your Sigil book. so it looks like this: Now toggle to book view. The text should look like this: Great! We have indents! However, the first line of body text is still indented and we don t want it to be (according to most publishers house-styles, there should be no indentation after a line-break).

There s a quick fix for this. Toggle to code view. Find this bit of code, which appears right at the start of the first line of body text, and copy it from the code view page (not from this document): <p><br /></p> <p> Now open the find & replace tool, using this button on the menu bar: Paste the code into the find field. Then paste in the following code into the replace field. <p><br /></p> <p class=noindent> And click replace all. This should locate all line breaks and ensure that the proceeding paragraph is not indented. Tip Sigil sometimes reverts find-and-replace changes when you switch back to book view. If this happens, click your cursor onto the page of code before you switch to book view. We also want to justify the body text. Highlighting all the sections of text that need to be justified and hitting the justify button is time consuming, especially if it s a long book. Using CSS will save time. So, toggle to code view and find this CSS rule: p {text-indent: 2em; margin:0 0.2em 0;} and add this code, before the closing brace: text-align: justify; So the whole rule now reads: p {text-indent: 2em; margin:0 0.2em 0; text-align: justify;} If you toggle to book view, the body text should now be justified throughout the book, so it looks like this:

That s Part One finished! Save what you ve done so far before continuing to Part Two. Part Two The chapters of your book will be listed in the Table of Contents (TOC) because of the way you ve formatted the chapter titles with h2 tags. If you re using a recent version of the Sigil software, there ll be a pane on the right hand side of your window displaying all the items in the TOC. If you have an earlier version of Sigil, you ll need to go to Menu/Tools/TOC Editor to view it. Here you can see the TOC items and uncheck any you don t want to include. Now we re going to divide up the book, so that each chapter begins on a dedicated page. Here s how: In book view, click your cursor just after the body text at the end of the first chapter. Then on the menu, select Insert/Chapter Break. This will split the book into 2 distinct sections, which you ll see listed in the left hand pane as Section0001.xhtml and Section0002.xhtml. Continue through the text, adding new Chapter Breaks for each chapter (but with care you can t undo this!). Tip It doesn t really matter what the pages within an ebook are called, i.e. Section0001.xhtml, Section0001.xhtml, etc. These page names are for the book s internal reference only the reader will never see them. So far, so good. You ve laid out and formatted the novel, and separated it into chapters, which have automatically been added to the TOC. Unfortunately, this is the point where epub and MOBI (the Kindle format) compatibility issues raise their heads. For ebook readers using the epub file format, the TOC you

already have should make the ebook perfectly navigable. But for Kindle devices, you need to build a dedicated Contents page. Here s how: 1) First of all, in the left hand pane, right click on one of the existing pages (e.g. Section0001.xhtml) and select Add New Item. A new page will be created. Rename this page Contents.xhtml (by right clicking on it and selecting rename ). Then right click on it again and select Add Semantics ; then Table of Contents. You can drag and drop this page in the left hand pane so it s at the top of the list, and will appear as the first page in the book. 2) Now go back to the original rtf document of the book, copy the text from the contents page. Paste it into the ebook page you just created. 3) Write Contents at the top of the page, format it as Heading 2, and centre it. 4) As ebooks don t use page numbers, the next thing you need to do is delete the page numbers listed on the page. By now, your contents page should look something like this: 5) Now you need to make it navigable. Toggle to code view. To link the text Chapter One to that page within the ebook, you ll need to insert some code. Pasting in the following code will link the text Chapter One with the xhtml page called Section0001.xhtml. <a href="../text/section0001.xhtml">chapter One</a> If you now toggle to book view, and click on the text Chapter One (which will appear in blue), you should navigate to the xhtml page Section001. To build the table of contents, repeat this step for each chapter. When you ve finished, check that the hyperlinks are correct by clicking on each chapter name on the Contents Page to see if it links to the right chapter.

Tip the old Kindle eink devices will sometimes arbitrarily indent some items on a contents page. To avoid this, highlight your all chapter headings on the contents page and left justify them using the button on the menu. Prelims Some publishers don t consider it necessary to add a prelims page to an ebook, as copyright and publisher information will be included in the metadata (more about this later). However, if you want to add a prelims page, here s how to do it. 1) First, right click on one of the existing pages (e.g. Section0001.xhtml) and select Add New Item. A new page will be created. Rename this page Prelims.xhtml (by right clicking on it and selecting rename ). Then right click on it again and select Add Semantics ; then select Copyright Page. 2) Paste in your prelims text and centre it. 3) You may well want the prelims text to appear smaller than normal-sized text. There are two ways of achieving this. a) In code view, paste this CSS over the existing CSS code in the Prelims page: p.sgc-1 {font-size: 50%; text-align: center} That should make the text 50% smaller. Tip Kindle devices, particularly the eink Kindle readers, have limited support for different sized text within an ebook. This was essentially because the vision of these devices was to give the user control over this aspect of the reading experience setting the text size themselves. Amazon have revised this with the Kindle Fire, which allows publishers to have more control over font sizes. The upshot is, before publication of your ebook, you must road-test your ebook on a range of devices, old and new (not just the Kindle Previewer software), to see whether your prelims text appears in the size you want. Cover Image Here s how to insert a cover image. 1) Make sure you have the cover image saved somewhere on your computer. It should be a jpeg of at least 600 x 800 pixels resolution.

2) Right click on the folder Images in the left hand pane. Select Add Existing Item. This will prompt you to import an image file. 3) Once imported, right click on the image file and select Add Semantics ; then select Cover Image. Metadata Metadata is information about the book, including the title, the author s name, copyright information, a description of the contents, a blurb, press quotes, a list of territories in which the ebook will be available (which will depend on the rights specified in your contract with the book s author), and in some cases, an ISBN*. You can find much of this information on the jacket of a book, or on the prelims pages. Metadata doesn t appear within the pages of an ebook, but is included as part of the epub file. Metadata is important when it comes to having your book sold by ebook retailers. Crucially, it s what allows customers find your book when they search online (and remember, they might not search for the book s title or the author s name, but by topic, theme or genre). Without the right metadata, a retailer may not accept your ebook, or it might not be very visible when people search for your book. *Technically, there s no requirement for an ebook to carry an ISBN. EBooks sold on Amazon, for example, don t need one. However, some ebook retailers demand it, so allocating it one now could save you hassle in the future. It should not be the same ISBN as the hard-copy edition, as this leads to confusion when customers search for the book using the ISBN. How to add metadata 1) In the top menu, select Tools/Meta Editor. 2) Add the book s name and the author s name. 3) Click Add Basic. As a bare minimum, I d recommend adding a Description (use your blurb text for this), the Publisher, the Publication Date, the ISBN if you re allocating it one, and Rights. In Rights, list the territories in which you have the right or license to sell the ebook. 4) Click Add Advanced. Here, as a minimum, I d add Copyright Holder, Designer, Editor (if an anthology), and Translator (if applicable).

Checking the first round First of all, have a quick scroll through each chapter of the book in Sigil. Obvious things to check are: Are the chapter headings centered and correctly formatted as h2? If the body text uses numbers, asterixes or other symbols to divide subsections of a chapter, are these centered? Is the body text correctly indented on the first line of each new paragraph? When there s a line break, is the proceeding paragraph unindented? If not, replace the opening <p> tag of the proceeding paragraph with <p class= noindent > Do the chapter titles on the Contents Page hyperlink to the corresponding chapter in the book? Are the prelims the correct size? And obviously, look for any miscellaneous typos that may have crept in. Pay particular attention to any text you have added or altered by hand while making the epub (as opposed to text imported from the rtf). Conversion to MOBI format. 1) Save the Sigil epub file. 2) Then open the Kindle Previewer application. 3) From the main menu, select Open and then choose your epub file from the dialogue box. At this point, you ll see a message box telling you the file is being converted. After a moment, you should get the message Kindle Previewer has Successfully Compiled the Book. The Output File has been generated here. If this is what you see, click OK and carry on to stage 4 below. If you see a message that says Kindle Previewer has Successfully Compiled the Book. But there are warnings! this, as you might expect, means something isn t quite right. Click on Compilation Details, and scroll down to see what the warning is for. It s most likely to be one of 2 things, which you ll need to fix in Sigil before you proceed: a) The cover image is too small. b) There s a navigation problem in the Table of Contents, which usually means a hyperlink on the contents page directs to a page that doesn t exist in the book, or visa versa.

4) The Kindle Previewer will automatically open in Kindle Fire mode. But as the older Kindle eink reader is the device most prone to formatting problems, it makes sense to start with that. So on the top menu, select Devices/Kindle. 5) Now navigate from chapter to chapter, using this button: to check that the formatting and alignment of the chapter titles looks okay. 6) Click this button to see the contents page. Check that all the links to chapters on the contents page work. 7) From the first Chapter, use this button to scroll back through the pages to the prelims. Check they look okay. 8) Now scroll forward through every page of the book. It s probably not necessary (or a good use of your time) to proof read it. But do at least scan the formatting and alignment of the text on every page. 9) Now repeat the process in Kindle Fire and ipad modes. Once you re satisfied it s all looking good (and, if you ve gone back to make any changes in Sigil, you ve re-checked it in the Kindle Previewer) you re ready to check it on the Kindle itself. 1) Kindle Previewer will have automatically created a new folder in the same location as your epub was saved. The MOBI file of your ebook will be saved in here. 2) If you ve opened your ebook in Previewer more than once, you ll have several MOBI files in here. Make sure you select the latest version. 3) Plug your kindle device into your computer. 4) Drag and drop this MOBI file into the documents folder of your Kindle. 5) Disconnect (by safely ejecting it!), then check how the ebook looks on the Kindle, using the same checklist as above. Kindle eink and Kindle Fire compatibility. As noted above, the older Kindle eink devices do not support some formatting commonly used in epub files. Many of these glitches have been ironed out with the introduction of the Kindle Fire device and the new, KF8-compatible updated MOBI file format. But it s worth bearing in mind that many of your customers will have older Kindle eink reading devices, so it makes sense to check how your book looks in the Kindle Previewer in Kindle mode, and on an actual Kindle eink device prior to publishing it. To learn more about compatibility issues, you can find a full list of the xhtml tags supported by different Kindle devices on page 52 of this document: http://kindlegen.s3.amazonaws.com/amazonkindlepublishingguidelines.pdf.

If you don t have a Kindle, you can drop into the Literature Northwest office to test your ebook files on our Kindle. Please email ra.page@commapress.co.uk to arrange this in advance. Now you re ready to publish! It s really straightforward to sell a book on Amazon. You can set-up an account on the Amazon Kindle Direct Publishing website: https://kdp.amazon.com/self-publishing/signin