8 Steps to Styling Your Ebook in Sigil

by C.K. MacLeod

In today's post, I'll discuss how to style your ebook in Sigil.

Many of the steps in this post are based on Paul Salvette's excellent tutorial, How to Make an Ebook with Sigil. I've broken down the steps further and provided more screen shots in those areas where I think it's easy to get stuck. I've also suggested some "how-tos" and "why-tos."

If you followed the instructions in this post, you will have pasted your ebook into Sigil's editing window. It will look something like this:

My ebook in Sigil

To review, Sigil has two "views"— the Book View and the Code View. We'll concern ourselves mostly with the Book View for now.

Book View (red arrow) and Code View (highlighted in yellow)

Styling Your Ebook in Sigil

The toolbar in Sigil has all the features you need to style your ebook. Follow the steps below to style your ebook.

1. Align your text.
Check your ebook distributor's guidelines for how their conversion software handles text alignment. Generally, it's a good idea to left-justify your text (also called ragged right).
Left-justify your text
2. Style your paragraphs using the Paragraph button.
This sets your paragraphs to "normal style" in the same way that you would set your paragraphs to Normal using the Word Styles menu in Word 2010 (if you don't use Word Styles, it's a great habit to get into for the purposes of ebook building). Again, if you already styled your paragraphs to Normal in Word, you can skip this step.
Use the Paragraph button to style paragraphs

3. Style your headings.
This step is important because Sigil will use your styled headings to generate an external table of contents (NCX) that readers can use to navigate your ebook. Style a heading by selecting it, or clicking in the middle of it and then clicking on one of the heading buttons:

I used the h2 button to style this level 2 heading

If you already styled your headings in Word, you can skip this step. I've noticed that heading styles are retained when you convert your Word .docx file to a plain text file.

Note: Style your chapters headings as H1s.

4. Break up your book into chapters.
Up until now, your file is just one continuous stream of text in Sigil. You want your book to be divided into chapters. Place the cursor where you want to split your book and click on the Split at Cursor button:

Split at Cursor button

Look what happens:

From one file to many

Don't worry, your split parts haven't disappearedeach chapter has become a new file. Note the highlighted parts in the screen capture above. You can rename these .xhtml files to meaningful chapter titles, by right-clicking on them and selecting Rename.

To access your chapters at any time, double click on the the files in left menu bar, or on the tabs at the top of the middle window.

Tip: If you've styled your chapter headings as HIs, you're in luck. In the course Creating Ebooks for the Kindle, Tony Harmer explains that you can search for H1 headings quickly in Code View, using Sigil's search function (Ctrl + F). This makes splitting your books into chapters a quick task.

5. Style any lists using the Bullets or Numbering button.
This will ensure that your lists are lined up neatly on the left. If you've styled your lists in your original Word file, using the Bullets and Numbering buttons on Word's ribbon, check to see whether that transferred to Sigil.
6. Insert hyperlinks.
If your ebook contained hyperlinks in Word, they may have transferred intact to Sigil. If they haven't, select the URL and insert a hyperlink using the Insert Link button on Sigil's tool bar.
Insert link button

7. Insert any images using the Insert File button.
Inserting images is a separate set of considerations and deserves a post of its own. For now, consult your distributor's formatting manual for image size and quality guidelines.

8. Create a table of contents (TOC).
Open up the TOC pane by going to View,Table of Contents, if you don't have this pane open already. Click on the Generate Table of Contents button:
A menu will pop up:
All headings are selected by default
Decide which headings you'd like to include in your TOC and click OK.
Your file now looks something like this:
Sigil's TOC pane with your new TOC
You can use your newly created TOC to navigate your Sigil document. Click on a TOC entry and give it a try.
Congratulations! You've now successfully styled your ebook in Sigil. In a future post, I'll show you how to check the quality of your EPUB and troubleshoot problems using Sigil's Code View. Don't worry: it's not as difficult as you think!
Revised and updated. Originally posted at beyondpaperediting.com

How to Create an Ebook With Sigil

by C.K. MacLeod

Ebook distributors make it possible for authors to upload a Microsoft Word document for publishing an ebook. Because many authors use Microsoft Word, this is an attractive option. If your ebook is mostly text and you've done a good job of cleaning it up in Word, the end result can be quite acceptable.

Expect the Unexpected

Sometimes, though, a distributor's conversion software doesn't do what you expect. For example, the Lulu and Kindle converters tend to indent paragraphs, even if you've applied block paragraph styling in Word (block paragraphs are generally the preferred style for nonfiction books).

While there is a way to trick the conversion software's annoying tendency to indent automatically, the results aren't always pleasing. Similar quirks occur in Scrivener, as well.

Block-style paragraph styling in Word
Paragraph styling is indented after it's converted by Lulu conversion software

Enter Sigil. Sigil is a free, open source epub editor that allows you to create an epub file that you can upload to most distributors. It can help you to prevent some of these quirks. It's surprisingly easy to use and if you're at all interested in having more control over how your ebook looks, Sigil allows you to do a bit of tweaking under the hood.

How Sigil Works

Sigil has two views: "Book View" and "Code view" (don't worry about Code View for now). Sigil's Book View operates like a simple Word processor. I would never have believed it if I hadn't tried it myself. Look at the buttons on the toolbar. I'll bet you can guess what some of them do...

Sigil's Book View works like a Word processor

Help Sigil Read Your File

Your first obstacle to using Sigil is to figure out how to get your ebook from Word into Sigil. Why? Sigil doesn't read .doc or .docx files, it only reads HTML, epub and .txt files. Here's what you need to do (I learned this trick from Paul Salvette's excellent tutorial, How to Make an Ebook with Sigil):

1. Open your ebook in Word (I use Word 2010). Go to File, Save As, and save your file as Plain Text (.txt). This option strips your Word file of unnecessary code that can mess up your ebook in the conversion process.

Save as plain text (.txt)

2. A message box like this will pop up:

Select UTF-8 encoding

Select "Other coding" and choose UTF-8 encoding (you'll need to scroll down in the menu), Click OK.

3. Now that you've saved your document in a form that Sigil can read, copy and paste it from Word into the middle window in Sigil's Book View.

Paste your ebook file in the middle window

Because you copied your ebook from a plain text file, you will have lost a lot of your formatting, so you'll need to reapply some of that formatting in Sigil. But here's the good news: if you click on the Code View (the button to the right of Book View), your ebook will have been cleared of a lot of unnecessary code that can give you undesirable results later on. This point will become more meaningful in a future post.

An aside: The Sigil User Guide suggests that you can also save your Word files as Web Page, Filtered. This will leave your formatting mostly in tact, but your book will look like a dog's breakfast in places in Code View. So, while it's possible to save your Word file as Web Page, Filtered, saving it as plain text might be a better option. Don't take my word for it, though. You can save your file in both formats, copy them to Sigil and decide for yourself.

4. Your next step in producing an epub is to style your ebook in Sigil, using Sigil's toolbar. For now, don't be afraid to play around a little. I will discuss the ins and outs of styling an ebook in Sigil in a future post.

(If the suspense is killing you, check out How to Make an Ebook with Sigil, by Paul Salvette. You don't have to be a tech wizard to create an ebook in Sigil. It truly is a lot easier than you think.

Updated. Originally posted at beyondpaperediting.com.

2 Ways to Read an Epub on a Tablet

Google Play Books iconSo, you bought an ebook from a distributor other than Amazon, and you want to read it on your tablet* or smartphone. How do you do that?

Ebooks that you buy or download for free from Kobo, Lulu, Nook, Google Play, and the Apple iBookstore are delivered to you in epub format. So you'll need an app that can read epubs.

Kobo, the Apple iBookstore, and Nook have apps that you can install on your tablet to read their books. You'll be able access books purchased from these sites by just opening their apps on your tablet.

Alternative Apps

But what if you've downloaded or bought an epub from Smashwords or Lulu? They don't have designated tablet or smartphone apps that you can use.

You'll first need to download the epub file to your computer from the Smashwords or Lulu site. You can then read the epub file with one of these two apps:

Both of these apps are platform agnostic, meaning that you can read any epub on them, provided the epub doesn't have DRM applied to it.

However, how you get a book into each app on your tablet is different:

Google Play Books Quick Steps

  1. Download the Google Play Books app onto your tablet or smartphone.
  2. Open the app on your computer (go to the Google Play store to find it) and then upload the file from your computer into the app. The computer app and tablet app will sync.
  3. Open your the Google Play Books app on your tablet and you should see the book you just uploaded.

Bluefire Reader Quick Steps

  1. Download the Bluefire Reader onto your tablet or smartphone.
  2. Upload the book file to a file storage site, like Dropbox.
  3. Open the Dropbox app on your tablet and then tap on the book file you just uploaded to Dropbox. Your tablet should direct you to an app that can read the book file. Now that you've downloaded Bluefire Reader onto your tablet, it should be one of the choices. Tap the Bluefire app to to open the book.

Google Play Books and Bluefire Reader are simple e-reading apps, with not too many features — but that just might be what you're looking for.

*The instructions in this post work for an Android tablet. You many have to experiment a little if you have an iPad. If you're an iPad user, let me know if there are differences I should know about.

Scrivener Cheat Sheet (Downloadable)


by C.K. MacLeod


Scrivener is a wonderful tool for writing and producing book-length works. It allows you to

  • move chunks of text around with ease
  • organize research notes, references, and even notes to yourself—in the same project file
  • convert your book to ebook, web, and print formats

Help for Beginners

When you first open the program, though, it can seem a little confusing. This downloadable cheat sheet will help you to begin using Scrivener right now. Print it and stick it on the wall next to your computer.

You'll notice that I've listed the commands associated with the more common "writing moves" and grouped items by stages of the writing process.

Did I miss a Scrivener move in my cheat sheet? Feel free to leave a comment below.

A version of this post was originally posted at the Beyond Paper blog.

Image by Alan Reyes