CITO juggling ICT on one foot, on a wall

Information & Communication Technology

eBooks
Print on Demand
Self Publishing

Lulu, iTunes, Kindle, Nook, Barnes and Noble, Amazon and Beyond

Workshop Part 1 Creating an eBook & Book Part 2 Interoperability PDF for Paperback Part 3 Publishing Formatting E-Books for Amazon's Kindle Audio in eBooks eBooks and Paperbacks Enquiries

Creating an eBook

Gathering the Content

A book comprises text, photographs and other images, end notes, web references, table of contents, index, front matter such as an ISBN, Title and Author as well as an abstract or marketing blurb and a cover. eBooks may also contain audio, video and interactive content within a page.

The first time, I composed and formatted my books in Open Office. However, this was not the best approach as there isn't enough control of the document structure, so now I format the book in HTML. This file can be imported into Open Office to produce the PDF for the paperback and convert to XHTML for the eBook (the EPUB Format).

Creating an eBook in ePub format

Tom Worthington and the four websites, listed below, were invaluable in doing this. The firefox Google Chrome EPUBReader plugin, allows you to display and read e-pub books in the browser.

The advice was to break the book up into separate files for each chapter. I chose to go with 7 files of XHTML. The W3C Markup Validation Service's Tidy was useful in converting my HTML to valid XHTML.

Each image, in the book, will be a file. A CSS style sheet and three other files are also required, in a specific directory format, in the E-PUB Package. Harrison Ainsworth's Epub Format Construction Guide explained this structure well.

Incorporating Audio

See : Audio in eBooks

Complying with the ePub Format

Meaningless Lulu Error Messages

"The following issues were found with your EPUB, which can effect its eligibility for certain channels:
* Did not pass epubcheck-1.1 validation. (the iBookstore and Barnes & Noble)
* Contains invalid creator XML. (Barnes & Noble)
* Contains invalid publication date XML. (Barnes & Noble)"

Puzzling Three Press Validator (Beta 14 Aug 2012) Messages

ERROR mimetype -1 -1 Mimetype file should contain only the string "application/epub+zip".

The mimetype file Hurdle

Useful Websites when creating an EPUB

Ebook available through Lulu

Creating the Paperback from the EPUB

Perhaps the biggest issue is the hyperlinks. Where it is sufficient to provide hyperlinks, to references and relevant material on the web, it isn't really practical for a reader of the hard copy to follow up as easily. They are also more likely to flick through the book and so, would benefit from the inclusion, or at least a description, of what is available at the link - for possible follow up.

There are limitations on the book formats (bindings, page size, number of pages) which are available, for distribution, through Lulu Channels. For Global Reach the parameters are :U.S.Trade6x9", BlackandWhite PerfectBound 48-740pages. This was more pages than my e-book, but I decided to increase the font size (14point is more readable) and include additional photographs. As these were not my photographs permission needed to be obtained.

Lulu produces paperbacks from PDF files. I used Open Office to create the PDF. In addition, if you want to include an image on the front cover of your book or control the look, you will need to do this in a JPG file. You also have the option to provide another JPG, to be included on the backpage. Lulu also lets you enter the text for the cover pages directly. I did not like where Lulu wanted to put this text, so included it in my front cover image. The back cover adjusts the text around the image you provide. There is a "new" feature in Lulu which lets you design your whole front and back page.

An EPUB provides the ability to hyperlink within the document and the Internet, eg from the Table of Contents, to referenced points in the book or from references to sources on the web. These hyperlinks disappear in the paperback. It is useful to think about this when creating your html.

Open Office has a Master Document feature. Create one of these and import each of the HTML Files.

In Open Office, you can format each page - to adjust the size (Lulu Paperback 6"x9"), specify page size, margins, footers and headers for cover, front matter, left and right pages etc. Tip - this is done by right clicking on the

In theory, it should just be a matter of linking to the HTML files published as the epub. In reality, first you have to strip the first couple of lines the EPUB format requires, then deal with the formatting challenges (in Open Office 2.4.1).

Tips for Layout

  1. After importing the HTML pages into your master document, assign Page Styles to individual pages (cover, index, front matter, left and right pages of your book).
  2. Try to limit your image attributes to ALIGN="LEFT" or ALIGN="RIGHT" in your XHTML
  3. Modify "HTML styles" ie Heading 1, Heading 2, text body, etc. to include things like page breaks, keep paragraphs together, orphan control, etc.
  4. Use a heading (eg h6) to associate captions with images in your XHTML
  5. Use the Open Office Index rather than the Hyperlinked table of contents.
  6. Modify the Internet Link and Visited Link character style to make hyperlinks in printed document consistent with normal text

When you are happy with the display of your document export it as PDF.

Note you can save the Master File (ODM Package) - but you need to reapply the page style to the cover page, others flow on, each time you open the document. Possibly a bug in Open Office 2.4.1

I converted the images to grey scale for a Black and White only Printed book. But this may not be necessary. Lulu also provides the option (at significantly higher cost) for colour.

Part 2 Lightning Talk at SLUG 26 August 2011 - Interoperability - Formatting the PDF from the HTML source using Open Office Master Document.

Publishing as PDF

Lulu also lets you publish your book as PDF, so to do this you will need to decide whether your PDF is for printing or electronic use and change the Internet and Visited Link Character attributes back to something suitable. Also replace the printed Table of Contents with the Hyperlinked version.

Youtube: Lightning Talk at Sydney Linux Users Group (29 July 2011)

www.ramin.com.au/linux/formatting-e-books-and-paperbacks.shtml © Ramin Communications 2007-16. Last modified 16 November 2016.