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

Ebook week Day 4 “The Kobo Aura ebook reader”

Nov 13
I hate paper books. I don’t know why. Some people love them, tell them they smell good, feel nice, love to put them on a shelf, stroke them, sniff  and do other deeds that I classify under “papyrus-porn.”  I have never been one of them. One of the reasons is that for the longest time I have been reading books that are hard to find (or just ‘not around’) in this part of the world. With Amazon these days its whole different thing. You can have your copy of Fifty Shades flown in by Drone overnight and your husband doesn’t even have to untie you to accept the delivery. But back in the late 90’s it was different. I loved sci-fi books.. I loved ENGLISH sci-fi books. I traveled all over the country to one or two obscure bookshops to pick up overpriced paperbacks of Star Trek Novels and all kinds of geeky stuff I liked to read. Behold my amazement when the internet came along and i could actually DOWNLOAD (perhaps not completely ‘legal’) copies of all kinds of wonderful stuff I loved to read. So when other people where tapping appointments with non-existing pens into their Palm pilots .. i was using the little buggers to read books on. Like some proto-geek I would walk around with this little PDA in front of my face .. reading.
hero
When Ereaders came along I was the first to hop on board. When other geeks were still trying to make fire .. i had my first Sony PRS505 and I loved it. I loaded up 700 Star Trek novels on it and kissed reality goodbye.  However the whole tablet rave broke the loving relationship between my Sony and me .. and I started reading books on my Tablet and .. my smartphone. “Why have a separate device to read books on, if you have tablet that can do books .. and the internet , and twitter, and Facebook, and porn .. ” (Kidding : i never said ‘Porn’!)  And that is where the problem is. (not with Porn of course) but with all the other stuff. The tablet might be ok for reading , but the urge to get distracted is enormous.
You can’t “hide in a book” when you are reading on your tablet. Its that simple. the amount of Dings, popups and temptations to quickly check Facebook are too damn high ! So this week I decided to get a Kobo for my birthday.
I went for the Kobo Aura because of 3 things. 1: Its small. 2: It has a backlight (so I can read in bed) and 3: it syncs with POCKET. The design is well done, the Kobo feels nice to hold and has a long battery life even though it has a wifi connection. This “should” enable you to buy books online and all that crap.. but what its awesome for is Syncing down all those articles you tagged for “i’ll read this stuff someday’ in Pocket.
 
The digital magazine.
So aside from reading the book I had put on the Kodo using Calibre (at night , with the nice backlight) I also have a little “digital magazine” in my hands. The Calibre articles sync down over the wifi connection and give me small byte-size reads when I don’t feel like diving into the next chapter of my book. The fact that there is hardly any other form of connectivity (there is a browser on the Kobo .. but come-on,) helps you stay focused and relaxed during your reading.
I am very happy with the Kobo. The form factor (and the fact it does not have a raised bezel around the reading area) make it enjoyable to use. Its big enough for reading, but small enough to carry around. The limited Wifi is an added bonus but its the Pocket integration that helps this baby shine. A perfect balance between connectivity with the grid .. while still offering the disconnected “seclusio

Related Posts

“Ebook week” Day 1: Calibrate my Pocket.

Nov 10

By McVries, Geek, Dad, Avid Reader, Open Source Enthusiast, @mcvries_ on twitter.

calibre

Calibre.

Distraction free reading, a bliss after a day of notifications, phone calls, co-workers with questions and the lot. Just kick them shoes off and put your feet up, maybe sippin’ a glass of Laphroaig. Lovely. And in the last four years or so the idea of me ploughing through a pile of books is no longer a reason to worry about our oxygen levels, paperless it is. An E reader, specifically a Kindle, is my way to protect the environment.
Using Calibre, a multiplatform Ebook management suite, to manage my ebooks gives me the freedom to use actually any format with the Kindle. Calibre reads any Ebook format I can think off and is able to convert them to about any other format. So the usual setup is something like this, I add an epub, txt or doc file to my collection and with a single click I tell calibre to email it to my Kindle. Calibre knows that that little device isn’t multilingual so it translates the whole book into the mobi dialect it does understand. Sweeps it out through port 25 and it lands on my nightstand.
So although I actually own a quite locked down device I don’t really notice it as such.

pocket-logo-icon

Pocket.

Throughout the week I tend to collect quite a few articles and blogposts which I all mean to read later. I save them to my Pocket account if they are a bit longer then usual and if I don’t have a direct need for the information. They wait patiently inside my pocket account and every time I have the time to read up at all the interesting stuff I didn’t get to in that week I can use the Pocket webapp on my laptop, or the application on a tablet. That is just fine and dandy, but the setting is not that of distraction free reading. Popups are still there, the screen is still a glowing display and it just doesn’t feel like reading the way it does on a Deadtree or Electronic book. Especially the well written informative and longer articles I like to read in a more Zen situation.  And here comes calibre to the rescue again.

Calibrate my Pocket.

Calibre contains some nifty tools and one of them is “Fetch News”, which comes with a trunkload of predefined scripts. One of them titled “Pocket”. And although there are some caveats, with sorting and archiving the downloaded articles and working with the correct tags it actually works pretty well for me. And while I was ironing out the forementioned caveats, all of a sudden I ended up creating an Ebook containing six months of weekly columns by a well known columnist here in the Netherlands. Neat.

The HowTo.

Presuming you have a Pocket account and have your credentials available and you have got a copy of calibre running on your preferred OS, here we go.

 

2

Summary: In calibre click Fetch news and select Add a custom news source.

3

 

Now choose to Customize a builtin recipe. In the next screen you want to select Pocket.

4

In the edit screen as below you can select the Script on the left en in the right panel scroll down to the “Settings people change” to finetune the recipe for your needs. The picture (click to enlarge) shows the defaults.

5

 

I changed some options for my needs. My version reads:

 

 

  • #Settings people change
  • max_articles_per_feed = 50
  • minimum_articles = 1
  • mark_as_read_after_dl = False # Set this to False for testing
  • sort_method = ‘newest’ # MUST be either ‘oldest’ or ‘newest’
  • # To filter by tag this needs to be a single tag in quotes; IE ‘calibre’
  • only_pull_tag = None

If you don’t meet the required minimum_articles, the script fails with an error. And since I push that button, I want those articles, even if there are just a few. So I lowered this to 1. The mark_as_read_after_dl. I changed this to false, since I want to use my webapp for managing my pocket account. And the sort_method I changed to newest, so if I fail to manage my pocket account I get the latest articles first instead of wading through a whole lot of stuff I have forgotten to clean out. The “only_pul_tag = None creates the situation that only untagged articles are pulled down. So if you would like to create a dedicated stream to your ereader the tag “calibre” or “ebook” would be approriate to use. Just don’t forget to tag them correctly when tagging to pocket!

And don’t forget to save your script (Add/update recipe on the left) and click close. Some loose ends here, even if you saved it it will still warn you you might lose the changes. Take a risk for once and click close. On we go:

6

 

Under Fetch news, schedule news downloads will tie your freshly editted script to your pocket account. Just pick the Pocket script under custom, create a schedule and fill in the credentials.

7

 

Now to go out and build your own ebook for your reading pleasure. Under Fetch news click “Download all scheduled news sources”8

Allright, after this the actual building of your ebook will take about 2 minutes, tops. Done, you now own an Ebook with all the needs to reads you collected throught the week. And the next time it will only take about a minute. Transfer it to your E reader and discover it is menu driven, with smart links within the ebook for navigation and enjoy your distraction free quality time with the interesting stuff you harvested.

Get Calibre here and join Pocket here.

 

Related Posts

Free book/podcast : When sysadmins ruled the earth.

Jan 21

“Reading” : Aside from reading green text on a black terminal background of a remote SSH connections, most system administrators don’t do a lot of reading. Yet you should consider withdrawing from the screen and keyboard from time to time just to relax with a nice cup of tea and .. do some reading. But about what ? Vampires ? Wizards ? 50 shades of greyscale ? Most popular ‘books’ that line the bestseller que at the bookstores don’t appeal to us. So lets find something that does.

It has to be about something that interests us, something that is geeky and techie enough to keep your massive brains entertained, but also short and fast enough to outrun our ADD brain .. (oh look : Squirrels ! )

Cory Doctorow’s books have always checked those boxes. For those of you who have not read “Little Brother” and “Homeland” : You are missing out. 2 great books that SHOULD be fiction, but considering what the NSA is doing to day .. feel more like a reality soap. The books are free, you have no excuse but to download and read them. 

Cory2004_200x300

Cory also regularly writes short stories like “When sysadmins ruled the earth” Exiting easy to read short stories about the oompa loompa”s who make the internet work !  You can download the stories individually over at Cory’s website (as a podcast if you are too lazy to read) or download them as a complete book in .ePub or .mobi format.  Its free .. there is no excuse …  Read … you fools ! 🙂

Download the separate chapters here.

Download the entire book as an ePub or mobi here.

Related Posts

49 Euros for the Pyrus Mini ebook reader : Totally worth it.

Aug 25

Books : Some like the smell of paper, the sounds of gentle footfalls in the hushed silence of libraries, some like flipping though pages and the rustling sound of paper turning in  the night … I’m not one of those persons. To be honest : I’ve been reading digital books since the beginning of this century.  From devices as primitive as the Palm to my much beloved Sony PRS-505 I am proud to say that I only read about 2 paper books in the last 12 years. My latest device of choice on which I have devoured many a book was my iPad mini. ( I had ‘loaned’ my Sony eBook reader to my 86 year old gran .. and she’ll never ever give it back).  But where the iPad mini shines in the dark (its active screen is great for reading in the bedroom) it gleams in sunlight (its reflective glass is terrible for outside reading).  So with my holiday coming up and plenty of reading to do .. I thought I would try out something new.

trekstor-pyrus-mini-2

It was in fact Niejana who pointed out the Trekstor Pyrus Mini on our last visit to our favourite geek-friendly store in Aachen. Three  things immediately made me fall in love with the device : The size (It reminds me of my trusty Palm devices) The color and texture (It has this rubbery enclosure thats a dark blue) and its price : 49 euro’s !  I mean : What could go wrong for 49 euro’s ?  

The Pyrus has a 4.3 inch 800 by 600 Pixel E-Ink display. It has 2 gigabytes of onboard storage that you can extend by shoving in a micro SD card. There is no Wifi, Bluetooth or 3G connection. Just some buttons to navigate pages and adjust things like character size and the language of the interface.   In the end this device is horribly horribly simple .. and that is just brilliant !  The Micro Usb connector is used for charging and adding titles to the onboard memory and since the screen is pretty small .. the battery time will last you quite a while. It can read all popular formats (it does have a hard time with large PDF’s) but can not read .mobi (Epub is fine though).

But aside from the price, the one thing I love  more about this gadget is that its so small, thin and light that you can just slide it into your coat pocket and whip it out anywhere without having to bother with lids and casings and having enough room on the bus to read your book. At the size of a smartphone it might appear to small to read on, but the variable character sizing does make up for that. The screen has a very good contrast ratio and not a micron of ‘glare’.  

Sure its not as robust as some of the ebook readers out there, sure it does not have all of the functionality of a Kindle or a Fire .. But for 49 euro’s this is the “paperback novel cousin” to the “hardcover collection” ebook reader that you can find on the market today I’m NOT afraid to use it, loose it, break it or get mugged for it. It just lets me read my favourite collection of Justin Bierbers Fanfic .. anywhere.

Related Posts