Ebook Week Day 5 : Write your own eBook ! (By Daniel Messer)

Nov 14

Introduction : Writing is hard.

Writing a book is hard, but actually making and publishing an eBook doesn’t have to be. Here’s an easy way to take your finished text and turn it into eBooks for popular devices and Kindles using nothing but free and open source software! I can vouch that it works, because I’ve done this twice. I’ll do it a third time when this current book is finished.

Things You Need & Things You Need To Do

Let’s Download Things!

You’re going to need two free and open source applications and a free and open source plugin. The great thing is that all of them are platform independent, so no matter if you’re running Windows, OS X, or Linux; you’ll be able to make your eBook a reality.

First, you’ll need LibreOffice, a free and open source office suite similar to Microsoft Office. OpenOffice will do the job too, but I prefer LibreOffice. Pick the one that you like. Second, you’re going to need Calibre, which is also a free and open source application. Calibre is an eBook manager, database, content server, and more importantly, eBook format converter. The plug-in you’ll need is for LibreOffice and it’s called Writer2ePub and that’s an apt description of what it does.

Download and install LibreOffice and Calibre or snag them from your repositories. Once LibreOffice is installed, you should be able to double click and install Writer2ePub as your OS will recognize that as a LibreOffice plugin. Installation is quick and easy and soon you’ll be up and running with some prime software to make an eBook.

Styles

First, you’ll have to write that eBook, and I can’t give you help on that here. I do suggest that, when you’re formatting your book in LibreOffice, make use of the Heading 1 style for your chapter names. Formatting and design is a thing for another post but using the Heading 1 style for your chapter names will be important because Writer2ePub automatically builds a table of contents for you, based off those Heading 1 style calls. If you don’t have chapters then that’s fine. You don’t have to worry about the style selection at all, unless you want to!

Once you’re done organizing and setting your chapter styles, you’re ready to go! Obviously, make whatever edits you think you need for your finished book, but when you’re ready to pull the trigger click the Writer2ePub icon on your LibreOffice toolbar. You’ll actually see three of them. The first builds your eBook; the second handles your metadata which includes title, author, cover, and description; and the third is preferences. You can set preferences as you like, but for now, let’s set our metadata. So click the Writer2ePub icon with a little blue i on it and set up your metadata as appropriate.

Writer2ePub Metadata

You should add a cover because, as a professional librarian, I can tell you that people judge books by their covers, cliches notwithstanding. eBook design is a thing all its own, but your cover should be a high quality image, at least 500 x 800 and 72 pixels per inch. I use an image that’s 625 x 1,000 and 100 pixels per inch. The preferred maximum size for the longest side is usually 2,000. So edit your image accordingly. That stuff set, you can continue editing and tweaking as needed. If you save the file, your metadata saves with it.

Are you ready to make an eBook? Excellent! Time to click the Writer2ePub icon on the LibreOffice toolbar! You’ll have one more opportunity to edit your metadata and then click Ok. LibreOffice and Writer2ePub will work for a few moments and, at first, it looks like nothing happened. Ah! But check the folder where you’ve saved your original LibreOffice file and you will find an ePub there by the same name!

Congratulations! You just created an eBook!

Lets make a Kindle book too ! 

The eBook you just created using Writer2ePub and LibreOffice is in ePub format. That format will work on almost everything out there from tablets to eReaders. It will not, however, work on a Kindle eInk. If we’re talking about a Kindle Fire, then users of the Fire can get apps to open ePub files. That’s fine, but Kindle eInk users can’t get apps for their device, so let’s make sure they can read our eBook too, and that’s where Calibre comes in!

Open up Calibre and import your newly created ePub. Don’t worry, because Calibre copies all imported eBooks to the library folder you select. So your original remains untouched.

Importing Books in Calibre

Importing Books in Calibre Dialogue Box

Once it’s imported into Calibre, right click the item and select Convert Books – Convert Individually. You’ll get a screen with a bunch of options. Set those as you like but your interest probably lies near the top left of the screen where it says Output formateBook Conversion Options in Calibre

Select MOBI from that list and click Ok. Calibre will run the conversion and let you know when it’s finished.

eBook Conversion Formats in Calibre

If you click your book again and look over the right sidebar, you’ll see your cover, author, formats, and path. Next to path is a link that says Click to open. Do that, and you’ll get the directory with your imported ePub and newly created mobi file! That mobi file is perfectly compatible with Kindle eInk devices.
cover

And that’s it! You’ll have your eBook in the two most popular formats for devices and eReaders. If you’re looking to upload your book to a site like Amazon or Barnes & Noble, check to see which format they prefer, though Amazon will most certainly need the mobi format.

Happy writing! Make your eBook happen!

Post by Daniel Messer.

Related Posts

Switch Week : Export your iWorks documents.

Feb 22

You might not know it, but one of the greatest ways to sell an application is not only by making it a very good application, but also by using an enclosed file format. Its funny, but the majority of decisions in small businesses of whether to migrate to a newer version of office, is fuelled by the argument that “other people use office an its needs to be compatible”. That way a commonly present, closed file format used by a certain number of users ..ensures long time sales of your product.

iWork

With Pages Numbers and Keynote, Apple chose their own file formats to use. That also creates kind of a “legacy” problem. Part of that problem is that you need to be able to open / share your documents with other iWork suite users and part of that is that you need the iWorks suite to be able to open your own documents. Being able to break free from that locked in loop gives you the flexibility not only to exchange documents with others who do NOT have the iWorks suite, but also to make sure you can open those documents on your other computers that aren’t macs.

How to do it.
iWorks documents don’t ‘slide’ very well across operating systems. iWorks suite is capable of opening .doc .xls .ppt .rtf and .txt formats from other programs like the Microsoft Office suite and Openoffice (beware : Open document format is NOT supported). The other way around is a lot harder : No applications outside the iWorks suite are capable of opening and editing Apples closed iWork suite file formats.

What is the workaround.

Luckily there are the EXPORT options that allow you to ‘export’ your iWorks spreadsheet, document or presentation to a more open file format so you can open them up with non-iWorks applications.
supported formats – suggested formats

Pages documents can be exported to.

  • PDF
  • DOC
  • RTF
  • TXT (not all versions of iWorks support this)

Depending on the file format you export to you will loose more functionalities and layout options. The PDF export gives you a document with all the layout but without the ability to edit, the other file formats have less and less of the .pages layout and markup options in favor of being able to edit the text.

Numbers spreadsheets can be exported to : 

  • PDF
  • XLS
  • CSV

The same is true here, the farther you go down the list the less functionalities you can export. PDF gives you a read only document, XLS gives you the ability to open and edit the document in applications like Excel, Google Drive and Open Office. You might still have your graphs and pie charts but they won’t look as nice. With CSV you export your spreadsheet to a flat file with all your data separated by comma’s.

Keynote presentations can be exported to : 

  • PDF
  • PPT
  • Quicktime
  • HTML (not all versions of Keynote support this)
  • Images

With Keynote you can export your presentation to static images, or a pdf document or to a Quicktime movie giving your viewers the total presentation experience. Only when you export to .ppt will you be able to edit your presentation slides. When you do the latter you will loose some of the mark-up or effects of your presentation.

You win some you loose some.
With an “export” you go down to the lowest common denominator of functionalities between the different applications. Whatever .pages can do with a document that Word cannot .. Will be lost. Most of the times your documents will still be editable but they need “touching up” after the exports. Other times you might find that certain transitions or effects that are unique to the iWorks suite are completely gone or do not work.

Be open in the choice of your applications.
So if you don’t want to go live in proprietary-file format-purgatory we suggest using “open” applications as much as possible. Openoffice and Google Docs are largely geared towards cross platform availability AND the ability to be compatible with many other ‘office like’ applications. If you have to share your documents with others, be polite and use “open” file formats like .pdf .doc .odf and even .rtf .html or .txt. This way you assure that the other party can read (and if needed, edit) your document without having to run to the store to buy iWorks (and quite possibly a new Mac). Using open filestandards shows “digital maturity” and ensures that you can still open that essay that you wrote on your old mac .. on your brand new Chromebook, Windows Tablet or Linux PC.

Related Posts