How to Format ePub, mobi, and Smashwords eBooks with Scrivener — The Ultimate Guide
A Step by Step Guide to eBook formatting with Scrivener
Open Project Templates Menu
When you open Scrivener, navigate to the Project Templates menu.
Choose Fiction Templates
Click on the fiction category. You will see a variety of options here, from novels to short stories. Choose the one that is appropriate for your project. I will use the Short Story as a base for this tutorial.
Save As a Template File
You will be making a master file from this, so name this project something appropriate. My file is named “Ebook Template.”
Create Your Base Document
Scrivener will make a nice and useful file for you, with a place for all of your reference material. I don’t use any of that, so I’ll Ignore it for this tutorial.
The part that’s important for us is the section marked “Short Story.” Only the things in this folder will actually go into our ebook.
Add the Main Elements of Your Book
Now add the main elements of your books.
I like to have a table of contents, my story, a letter from me to the reader, and links to my other books. You can arrange it however you like. It can have folders with chapters, more pages, just your story, whatever.
Just be sure to put everything in the order you want it to show up.
Create Front Matter for Smashwords Upload (Optional)
You only need this step if you are distributing through Smashwords or another platform that needs a .doc file.
- Create a new folder and label it “Front Matter.”
- Make sure that it is not nested under “Short Story.” It should be at the same level as “Short Story.”
- Add a cover page to “Front Matter.”
- Add a License page.
- Add a Contents page. I know we already have one, but the Scivener created Table of Contents does not work for the Meatgrinder. So we need two: one for epub and one for .doc.
Create Smashwords Contents
- Select whatever documents you want to appear in the table of contents using the command key.
- With those selected, click the “edit” menu.
- In the dropdown, click “copy special”.
- In that dropdown, click “Copy documents as Scrivener Links.”
Paste into Smashwords Front Matter Contents
Paste into the page titled Contents.
Tah dah! You have a table of contents now. Format it however you like.
Add a Cover
- Drag your image into the binder.
- Retitle the page “Cover.”
Create Smashwords License Page
- Navigate to the License Page.
- On the page, enter the required Smashwords material
- Add the Title of your story, along with your author name. Format it however you like.
- Add your copyright info.
- Add the words “Smashwords Edition.”
Compile Contents for ePub or Mobi
Okay, here’s where the magic happens!
- Click Compile.
- Select format as eBook.
- Select all documents you want to include in your book.
- Click the toggle for page breaks on each document you want page breaks before. For example, you probably want a page break before each of your chapters.
- Click the As-is toggle if there is a page with special formatting you don’t want Scrivener to mess with. For example if you have a special page with all kinds of centering and a-typical justification.
- Select Compile for ePuv or mobi, depending on what you want. I’ll do ePub here.
Compile Contents for Smashwords
For Smashwords, you’re going to add that front matter we made earlier.
- So click the tab on the bottom and navigate to the folder holding your front matter.
- Set Compile For: to .doc
- Make sure to unclick the Table of Contents, since that doesn’t work for the .doc format.
Set all of the separators to empty lines.
Compile Separators for Smashwords
This is the same as for ePub, but if you want to have special characters separating the scenes you can do something different.
- Click the toggle for Text Separator.
- Navigate to Custom.
- Put whatever you want in there. Smashwords reccomends three stars.
Under the Cover tab, navigate to your cover page.
Your image should show up in the box.
This is where you determine how the text is formatted in your book.
The image shows the default setting, which is what I use for ePubs.
By checking the Title toggle, you choose what hierarchy of of documents display their titles. By checking the Text toggle, you are deciding the same thing for text.
The settings below mean that all folders and all documents with nested documents only display their titles, not their text. The only documents that display text are single documents.
You can change the font and style of the text by directly selecting it in the preview window and changling the settings as you would in a word document.
Compile Formatting for Smashwords Part 1
This will change based on how you have your story set up, but the basic process is the same.
- Assuming that folders are your chapters, select the top level folder.
- Make sure only the Title box is checked.
- Go down to the Preview Window and select the text.
- Click the Font button, it looks like a slanted A.
- A window will pop up, choose your font settings there. Smashwords likes simple formatting, so I recommend font like Arial or Verdana, Bold, and size 18.
- Do the same for the next level of sections.
- Also, for each step make sure that Page Padding is set to 0 lines.
Compile Formatting for Smashwords Part 2
- Go to the level of document that will be holding your text. Here it’s the third level.
- Make sure both the Title and Text box are selected.
- Go down to the preview window like you did before, and select your text.
- Click the font button again. The same window will pop up.
- Make sure the title has the same font as everything else.
- Make the text have the same font and change it to 12 point font.
Compile Formatting for Scrivener Part 3
Now for the paragraph and line spacing.
- Click the little paragraph spacing menu on the right.
- Scroll down to where it says “Other.”
- Click that, and a menu will pop up.
- Make sure the Line height multiple is set to 1.0.
- Now you get to choose either lines between paragraphs or indentations. You can’t have both.
- If you want indentations, Scrivener does that for you.
- If you want lines (which is not standard for fiction, by the way) then you need toa adjust the Paragraph spacing “after” section.
- Skip Title Adjustments.
- Click Layout.
- Make sure all toggles are checked under Table of Contents.
- Write “Table of Contents” under HTML table of contents title.
You can ignore this tab, but I check these three boxes just to clean things up.
Compile Page Settings for Smashwords
- Go to Page Settings.
- Make sure all boxes saying header and footer are empty.
- Tick the two boxes underneath, saying no header or footer.
Compile Meta-Data and Finish!
- Skip to Meta-Data
- Fill in information as you see fit
- Click compile.
- You’re done!
Save Compile Settings
So you probably don’t want to have to do this again.
- To save, click on the toggle next to Format As.
- Go down to Managle Compile Formats.
- Click it.
Manage Compile Format Presets
- Click on the plus sign at the bottom right.
- Type in a name for your compile settings.
- Click OK