Saturday, October 29, 2016

How To Create An Ebook With Calibre In Linux [Complete Guide]

Guide to create an eBoook in Linux with Calibre

Brief: This beginner’s guide shows you how to quickly create an ebook with Calibre tool in Linux.

Ebooks have been growing by leaps and bounds in popularity since Amazon started selling them several years ago. The good news is that they are very easy to create with Free and Open Source tools.

In this tutorial, I’ll show you how to create an eBook in Linux.

Creating an eBook in Linux

To create an ebook you’ll need two pieces of software: a word processor (I’ll be using LibreOffice, of course) and Calibre. Calibre is a great ebook reader and library program. You can use it to open ePub files in Linux or to manage your collection of eBooks.

Besides this software, you also need an ebook cover (1410×2250) and your manuscript.

Step 1

First, you need to open your manuscript with your word processor. Calibre can automatically create a table of contents for you. In order to do so, you need to set the chapter titles into your manuscript to Heading 1. Just highlight the chapter titles and selection “Heading 1” from the paragraph style drop down box.

ebook creation with Calibre

If you plan to have sub-chapters and want them to be added to the TOC, then make all those titles Heading 2.

Now, save your document as an HTML file.

Step 2

In Calibre, click the “Add books” button. After the dialog box appears, you can browse to where your HTML file is located and add it to the program.

create ebooks with Calibre

Step 3

Once the new HTML file is added to the Calibre library, select the new file and click the “Edit metadata” button. From here you can add the following information: Title, Author, cover image, description and more. When you’re done, click “OK”.

creating ebooks with Calibre in Linux

Step 4

Now click the “Convert books” button.

In the new windows, there are quite a few options available, but you don’t need to use them all.

creating ebooks with Calibre in Linux -2

From the top right of the new screen, you select epub. Calibre also gives your the option to create a mobi file, but I found that those files didn’t always work the way I wanted them to.

creating ebooks with Calibre in Linux -3

Step 5

Click the “Look & Feel” tab from the left side of the new dialog box. Now, select the “Remove spacing between paragraphs”.

creating ebooks with Calibre in Linux - 4

Next, we will create the table of contents. If don’t plan to use a table of contents in your book, you skip this step. Select the Table of Contents tab. From there, click on the select the wand icon to the right of “Level 1 TOC (XPath expression)”.

creating ebooks with Calibre in Linux - 5

In the new window, select “h1” from the drop down menu under “Match HTML tags with tag name”. Click “OK” to close the window. If you set up sub-chapters, set the “Level 2 TOC (XPath expression)” to h2.

creating ebooks with Calibre in Linux - 6

Before we start the conversion, select EPUB Output. On the new page, select the “Insert inline Table of Contents” option.

creating ebooks with Calibre in Linux - 7

Now all you have to do is click “OK” to start the conversion process. Unless you have a huge file, the conversion should finish fairly quickly.

There you go, you just created a quick ebook

For the more advanced users who know how to write CSS, Calibre gives your the option to add CSS styling to your text. Just go to the “Look & Feel” section and select the styling tab. If you try to do this with mobi, it won’t accept all of the styling for some reason.

creating ebooks with Calibre in Linux - 8

Well, that was fairly easy, isn’t it? I hope this tutorial helped you to create eBooks in Linux.

Let me know in the comments if you have any questions. If you found this article interesting, please take a minute to share it on social media.



from It's F.O.S.S. http://ift.tt/2ea5erf
via IFTTT

No comments:

Post a Comment

Playing Grand Theft Auto Inside A Neural Network’s Hallucination? It’s Possible!

Ever imagined what a Neural Network's hallucination would look like? The post Playing Grand Theft Auto Inside A Neural Network’s Halluc...