Skip to main content
All CollectionsAuthor Help
Getting Started Writing a Book in Leanpub's Dropbox Writing Mode
Getting Started Writing a Book in Leanpub's Dropbox Writing Mode

Keywords: getting started, Dropbox, writing mode, walkthrough, how to, tutorial, writing, self-publishing

Leanpub Support avatar
Written by Leanpub Support
Updated over a year ago
Getting Started Writing a Book in Leanpub's Dropbox Writing Mode

Use Leanpub to Write and Self-Publish Ebooks Using Dropbox

It's easy to create PDF, EPUB, and MOBI ebook files on Leanpub, using our Dropbox writing mode!

You can then self-publish your Leanpub-generated ebook files anywhere you like, including on Amazon KDP, Apple Books, Google Play, and elsewhere.

And of course, with just the click of a button, you can also publish your ebook any time on Leanpub's bookstore, and start earning 80% royalties on every Leanpub sale!

Finally, you can also use Leanpub to create a Print-Ready PDF that you can upload to print-on-demand services, so you can get your book into print, too!

Getting Started

In this article, we'll show you how to write your book using Leanpub and create ebook files from your manuscript, in just a few minutes!

We'll also show you how you can publish your book on Leanpub's bookstore, after adding a book cover image, a book description, and setting up your Leanpub author profile.

OK, here we go!

Creating a Book in Dropbox Writing Mode

Go to https://leanpub.com/create/book to create a new book in Leanpub's Dropbox writing mode:

Next, type a title for your book into the "TITLE" box. You can change your title later.

Click in the "BOOK URL" box. Leanpub will automatically suggest a URL for your book's web page on Leanpub. You can change this URL at any time.

Scroll down and you will see "MAIN LANGUAGE USED IN YOUR BOOK." You can select a language from the drop-down. Like the other settings, you can change this at any time.

In the section below, you will be presented with various Writing Mode options:

Select the "Cloud" option:

Scroll down and you will see that the Dropbox option that will appear now, and will be selected by default:

Next, enter your Dropbox email address:

When you scroll down, you will see the subscription plan options. By default, "Standard" will be selected, if you are setting up your first book in Leanpub.

Select a plan.

Scroll down and, if you are not signed in to a Leanpub account, you will see an option to enter information to create a new account. You will also see an option to sign in, if you already have a Leanpub account.

To create a new account, fill in the relevant information.

Please note that if you are writing in our Dropbox writing mode, you should use the same email address for Leanpub as you do for your Dropbox account. If you don't have Dropbox account, you can get one for free here.

If you selected a paid account, you'll see a form for entering your payment information:

Finally, tick the box if you wish to accept our Terms of Service and Privacy Policy, and click the blue button to finish creating your new book:

If this is the first Leanpub book you have created, you will see a page that is asking you to verify your email address:

If you check your email, you should see a message from Leanpub with the subject line:

[Leanpub] Thanks for trying Leanpub! Please verify your email address...

The contents of the email will say:

Click the link that says: "Click here to verify your email address."

Getting Started

You will now be taken to the Getting Started page for your book:

If you use bookmarks in your web browser, we recommend you bookmark this page in your web browser in a bookmark folder for your book, but this is not required.

(To learn more about navigating around Leanpub as an author, please read this article when you have finished this Getting Started walkthrough.)

Setting Up Your Book In Dropbox

When you clicked the button to create your book, Leanpub's Bookbot created a folder for your book in Dropbox, and sent a Dropbox shared folder invitation to the email address you used when you signed up.

It may take one or two minutes for you to receive the Dropbox shared folder invitation.

To accept the invitation, you can click on the Dropbox icon in the menu bar for your computer (these images are on a Mac; if you are using a PC, it will look different):

Next, to see the invitation, you may have to click on the little bell icon:

Click "Add to Dropbox":

Another way to accept the Dropbox invitation is in your email. Here is what it looks like in Gmail:

If you open the email, you should see a button that takes you to your Dropbox account in your browser, and then lets you accept the invitation:

Within a minute or two, in your Dropbox folder on your computer, you should see the folder for your new book:

Creating a Preview

To create your first preview, using the default content we included in your new book, go back the Getting Started page for your book:

Next, click on the "Versions" tab you’ll see in the horizontal menu at the top of the page:

This will take you to the Preview page for your book:

Scroll down and click the blue "Create Preview" button:

You will now go to a page like this, where you will see a progress bar at the top:

When the preview process is complete, you will see download links for the preview, in a variety of formats:

Click on the download links to see what your book looks like in the various formats.

Writing in Your Book

Next, on your computer, go to your book folder in Dropbox, which we went to earlier:

In the book folder, you will see contents like this:

If you have just created a new book from our default content, the `manuscript` folder will contain five files:

```
Book.txt
chapter1.txt
chapter2.txt
chapter3.docx

chapter4.docx

resources
```

How Book.txt Works

The top file is named "Book.txt":

This file is a list of the files that you want to be included in your book. Leanpub's book generators use this file when they are generating new versions of your book, to decide what files to include in your book, and the order.

If you open the Book.txt, you will see this list of file names:

```
chapter1.txt
chapter2.txt
chapter3.docx

chapter4.docx

```

This tutorial if for people who want to write in plain text. So, you can delete the lines that list the .docx files.

Delete the following lines from the Book.txt file:

```
chapter3.docx

chapter4.docx

```

The contents of your Book.txt file will now be:

```
chapter1.txt
chapter2.txt
```

Make sure to save your changes, and then close the Book.txt file.

Next, you can delete the .docx files from your "manuscript" folder:

The contents of your "manuscript" folder will now be:

Writing In Your Book

To write in your book, open the file "chapter1.txt". Currently, the file will have this content:

To see how writing a Leanpub book in plain text works, let's just select and delete everything in this file:

Now, let's start writing!

First, type "# Introduction" on the top line, to give the file a chapter heading:

Next, just type something like this:

It's *fun to write* books **that people will love!**

When you generate the next preview of your book, the part of the sentence between single quotation marks, *fun to write*, will appear in italics, and the part of the sentence between double quotation marks, **that people will love!**, will appear in bold.

In your text editor, save your changes, and close the file.

Renaming a File and Updating Book.txt

Now, let's rename the file we were working on.

You can name your files anything you want! Your file names will not be shown to readers.

Let's go back to our "manuscript" folder:

Right-click on the "chapter1.txt" file and select "Rename":

What you see exactly will depend on your computer, but you should see options like these!

Let's rename this file "introduction.txt":

You will now see this in your "manuscript" folder:

Now, remember that Book.txt file?

We need to edit the list of files in Book.txt, so Leanpub's book generators will know to look for a file called "introduction.txt", the next time we create preview!

Open the Book.txt file again:

Delete the top line, and type "introduction.txt":

Deleting a File and Creating a New File

Next, let's delete the chapter2.txt file from the "manuscript" folder"

Delete the chapter2.txt file, and the contents of your "manuscript" folder will now look like this:

Now, using your text editor, create a new text file and save it in your "manuscript" folder. Let's call it "chapter_one.txt":

To make sure this file appears in our next preview, open up the Book.txt file again:

This is what you will see:

Delete the line "chapter2.txt" and replace it with "chapter_one.txt":

Next, make sure to save your changes and close the file.

All right, now Leanpub's book generators will know what files to use, the next time we create a preview of our book!

Adding an Image to Your Book

All right, now let's add an image to our new text file!

To add an image to your book, you'll first want to add the image file to your book's "resources" folder:

If you look in the "resources" folder now, you'll see there is a file there already, called "palm-trees.jpg":

If you looked through the whole PDF we downloaded earlier when we made our preview, you would have seen this image in Chapter Two:

To add a new image to your book, copy and paste the image from your computer into your book's "resources" folder.

In this example, we're copying and pasting an image named "marm-and-tangie.jpg" into our book's "resources" folder:

Let's add this image to the new file we created just a moment ago. Open the file "chapter_one.txt":

This file will be empty, because we haven't written anything in it yet!

Let's type a new chapter heading and a sentence:

Now, let's add that image.

On a line by itself, type something the following, but using your image's file name:

![Marmalade and Tangerine](marm-and-tangie.jpg)

The exclamation point ! at the start of the line tells Leanpub's book generators to add an image here.

The part between the square brackets [ ] is the image caption; in this case, the caption will read "Marmalade and Tangerine".

The part at the end between the parentheses ( ) is the file name of the image; in this case, the file name is "marm-and-tangie.jpg".

All right, that's how you add an image!

Creating a New Preview of Your Book

All right, now we're ready to create a new preview of our book!

To create a new preview, go back to the preview page for your book on Leanpub:

Scroll to the bottom of the page and click the "Create Preview" button again:

When the preview completes, click the top link again to download the new PDF:

Here's what the introduction looks like:

And here's the page with our image:

Creating a Sample Book

One last thing: if you publish your book on Leanpub, we have a feature that will generate a sample book automatically, for potential readers to download from your book's web page on Leanpub, to help them decide if they want to buy your book.

To generate a sample book, you need to tell Leanpub's book generators what files to include in the sample book.

Go to your book's "manuscript" folder and open the "introduction.txt" file:

Here is what you will see:

On a line at the top of the file, type:

{sample: true}

This tells Leanpub's book generators to include this file in the sample book.

Save your changes, and go back to the preview page for your book and click "Create Preview" one last time:

You will now see that there are download links for the sample book, as well as the main book:

Click the top link to download the PDF version of your sample book:

Open the PDF and you will see that Chapter One appears in the Table of Contents, but if you go to Chapter One you will see this:

This lets people see the whole Table of Contents for your book, but only shows people the sample content from the sample chapters you choose to include.

Publishing Your Ebook

When you're happy with these preview ebook files, you're ready to use them to self-publish your book anywhere you like online!

You can use a variety of self-publishing services, from Amazon KDP to Lulu to Smashwords in IngramSpark, amongst many others.

As we mentioned above, we also have a Print-Ready PDF export option, so with one click you can also generate the file you need to use a print-on-demand service, to self-publish your book in print.

If you want to customize your book's colophon page (the page after the cover page) before publishing your book, please see this article.

Of course, we also recommend you publish your book here on Leanpub! Not only do we pay an 80% royalty rate on every sale, but we also have a number of features that are pretty unique, like the ability to create discount coupon links for your book.

(For a long-ish guide to what makes Leanpub somewhat unique in the world of self-publishing, please see this article.)

If you'd like to publish your book on Leanpub, you'll want to add some information about your book and a cover image first. We'll show you how to do that in the sections below.

Writing Your Book Description

To begin adding your book's information, scroll up and click on "Settings" in the horizontal menu at the top of the page:

By default, this will take you to the "About" page for your book, which is the top item in the vertical menu at the left:

On this page, you can add your book's subtitle, a description of your book that will be displayed in an "About the Book" section on your book's Leanpub web page, some "Teaser" text, and a "Meta Description" for search engines.

Enter your information in each of the boxes:

Finally, review your information and scroll to the bottom of the page and click the "Update Book" button:

When the book is updated, you will briefly see a success message at the top of the page:

Adding a Book Cover Image

Next, let's add a cover image to our book, that will be displayed on the course's web page and anywhere else the book is shown by Leanpub, such as bestseller or category lists, or on social media.

To upload your book cover image to Leanpub, click on "Book Cover" in the vertical menu to the left:

This will take you to a page where you can upload an image for your book:

Scroll down until you see the section called "How to Choose a Cover Size":

You will see there is a message saying that your book image should be 1800 pixels wide x 2700 pixels high, which is equivalent to, 6.0 inches wide x 9.0 inches high, or, in centimetres, 15.24 cm wide x 22.86 cm high. (This is the same cover size for all books uploaded using the Upload writing mode.)

Creating a Book Cover Image

If you've never created a book cover image before, you may find the following articles helpful:

How To Make A Book Cover Image Using Keynote

How To Make A Book Cover Image Using PowerPoint

Here is a book cover we made following these instructions:

[Editor's Note: We're using an image from Unsplash, which is a great resource for images you are free to use (though you should always check attribution requirements, of course!).]

Uploading Your Book Cover Image

When you're ready to upload your book cover image, scroll down and click "Choose File":

Navigate on your computer to the image you want to use. What this looks like will depend on your operating system. Here's what it looks like in a Mac:

Click "Open" (or the equivalent button you see on your computer) to add the image as your course image:

You will now see the image has been selected:

Next, click the blue "Update Book Cover" button:

This will generate a new preview of your book, which will take a few moments.

When the process completes (you may need to refresh your browser window), you will see your book cover appear at the top left:

Pricing Your Book

Leanpub uses a "variable pricing" model for selling books, courses and bundles.

This model is very popular with Leanpub readers, who enjoy being able to decide what to pay, within the constraints set by you, the author.

Before you publish your book on Leanpub, you will want to set both the Minimum Price and Suggested Price for book.

To set the Minimum and Suggested prices for your book, click on "Store" in the horizontal menu at the top of the page:

Next, click on "Pricing" in the vertical menu to the left:

This will take you to the Pricing page for your book:

For this example, we're going to set the Minimum price to $9.99 and the suggested price to $14.99:

[Editor's Note: Pricing is notoriously hard, so we recommend experimenting with different price points over time, to see which prices work best for you and your audience. However, we would like to note that the most common mistake authors make when it comes to pricing, is selling themselves short, and setting the price too low!]

Next, scroll down until you see the "Maximum Leanpub Discount %" section:

The wording in this section is hopefully self-explanatory, but basically, by setting a maximum discount percentage here, you are opting your book in to Leanpub discount sales, include our popular Weekly and Monthly discount sale newsletters.

We strongly recommend you opt in to these sales. People love getting discounts!

Choose the highest discount percentage you're comfortable with. For this example, we're choosing 50%:

When you've made all your pricing choices here, click the blue "Update Pricing" button:

Setting Up Your Author Profile

Next, if this is your first Leanpub book, you will want to set up your author profile page here:

On that page you will see the various options we provide for setting up your author profile:

We highly recommend you upload a nice picture of yourself and add your social media information, as well as a brief bio in the "About You" section. This really helps sell books!

After you add your information, make sure to click the "Save Settings" button at the bottom of the page:

Here's an example of what an author profile page looks like, after you set it up:

Publishing Your Book on the Leanpub Bookstore

OK, now we're ready to publish our book!

To publish your book, go back to the Versions section, by clicking the "Versions" tab in the menu at the top of the page:

Next, click on "Publish New Version" in the menu to the left:

This will take you to the "Publish" page for your book:

Finally, scroll down and click the blue "Publish Book" button:

When the publishing process has been completed, you will then see a message saying your book has been published:

To go to your published book's Leanpub web page, click on the book cover image at the top left:

Congratulations! People can now buy your book on Leanpub from this page, where you'll earn an 80% royalty on every sale:

Notice that blue "Edit" button?

The "Edit" button is only visible to you, and to any co-authors you may add to your book. Click it any time to go to your book's "Overview" page:

Here is what the book landing page will look like to a normal person, who is not the author (it's the same, but with no "Edit" button):

Updating Your Book

One last thing: Leanpub books are really easy to update.

To update your book, all you have to do is:

1. Edit your book file or files, and save your changes.

2. Generate a new preview to make sure everything looks good.

3. Go to the "Publish New Version" page and click the "Publish Book" button.

Next Steps

Ok, that's it!

As a next step, you may want to read this article about specific ways you can use Leanpub to sell your book.

To learn more about navigating around Leanpub as an author, please read this article.

If you have any questions, you may find answers instantly if you search our Help Center or our Authors Forum.

OK, that's it!


If you have any feedback or questions about this article, please email the Leanpub team about it at hello@leanpub.com!

If you have any questions or thoughts on writing and self-publishing with Leanpub, please join our global community of authors in our Authors Forum here!

Are you interested in self-publishing, and creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes: http://help.leanpub.com/en/articles/3088382-quick-walkthroughs-for-getting-started-on-a-leanpub-book

Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!

Subscribe to our YouTube channel here: https://www.youtube.com/leanpub

Please subscribe to our YouTube channel here: https://www.youtube.com/leanpub

You can also follow Leanpub in lots of other places!

Did this answer your question?