Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Calibre to create e-books in Linux

Shulou Source: shulou.com Published: 2022-06-01 15:19:26 09月22日 Update

This article mainly shows you "how to use Calibre in Linux to create e-books", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use Calibre in Linux to create e-books" this article.

Calibre is a "one-stop" e-book solution that can fully meet your e-book needs. Calibre is free, open source, and has cross-platform design. It is a complete electronic library, including library management, format conversion, news, conversion of materials into e-books, and e-book reader synchronization function, integrated into e-book readers.

The first step

First, you need to open your manuscript with your text processor. Calibre can automatically create a book catalog for you. To use this feature, you need to set the title style of each chapter to "Heading 1" in your manuscript. To do this in LibreOffice, just highlight the title and select "Heading 1" in the paragraph style drop-down box.

If you want to have subsections and want them to be added to the directory, just set the title of these subchapters to Heading 2. After you have done this, save your document in HTML format.

Step two

In the Calibre program, click the "add Book" button. After the dialog box appears, you can open the HTML file you just saved and add it to Calibre.

Step three

Once the HTML file is added to the Calibre library, select the new file and click the "Edit metadata" button. Here, you can add the following information: title, author, cover image, description, and other information. When you are finished, click "Ok".

The fourth step

Now click the "convert Book" button. In the new window, there will be some options, but you won't need to use them.

In the selection box at the top right of the new window, select the epub file format. Calibre also has other options for creating mobi file formats, but I often find that unexpected things happen after creating those files.

Step five

In the new dialog box on the left, click appearance. Then check "remove white space between paragraphs".

Next, we will create a content directory. If you don't plan to use catalogs in your book, you can skip this step. Select the content Catalog tab. Next, click the magic wand icon to the right of the first level catalog.

In this new window, select "H2" from the drop-down menu under match HTML tag. Click "OK" to close the window. If you have subsections, select "h3" under "secondary catalog".

Before we start to generate the e-book, choose to output the EPUB file. On this new page, select the insert Directory option.

Now all you need to do is click "OK" to start generating e-books. Unless you have a large file, the process of generating an e-book is usually done quickly. At this point, you have created an e-book.

For special users such as those who know how to write CSS style files, Calibre gives them an option to add CSS styles to their articles. Calibre gives them an option to add CSS style to their articles. Just go back to the appearance section and select the style tab option. But if you want to create a file in mobi format, for some reason, it cannot accept CSS style files.

The above is all the content of the article "how to create an e-book with Calibre in Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Electronic documents e-books selections directories formats content styles books books buttons labels titles chapters articles generation next information functions manuscripts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS Microsoft Huawei MariaDB