New Feature: Import from WordPress (and EPUB)

We’ve just added Import* to PressBooks, starting with: WordPress XML, and EPUB. More import formats are on the way. Below, I will show you how the import from WordPress works (EPUB is the same process, just a different file source).

Step 1: Get your WordPress XML file from your blog

In your WordPress admin, go to:  Tools –> Export

(found at: ~/wp-admin/export)

Export the content you want into an XML file.

Exporting your WordPress XML File

Exporting your WordPress XML File

 Step 2: Go to PressBooks –> Utilities –> Import

In PressBooks, go to the left menu: Utilities –> Import.

Utilities --> Import

Utilities –> Import

 

Step 3: Select your file type, choose your file, and upload

On the import page:

  1. Decide what file type you wish to import (WordPress XML/WXR or EPUB)
  2. Choose the file on your harddrive
  3. Upload the file
PressBooks Import Select File & Type

PressBooks Import Select File & Type

 

Step 4:  Choose Chapters, Frontmatter, and Backmatter

Now choose which “chapters” you want to import (or select all).

Decide whether the imports will be frontmatter, chapters or backmatter

NOTES ON STEP 4:

a) you cannot undo your chapter/frontmatter/backmatter choices once you have importer

b) You’ll need to edit front- and backmatter to make sure they have the right “types” associated with each one.

Step 5: Press “Start”

 

PressBooks Import Start

PressBooks Import Start

 

Step 6: Voila:

And voila! Here is your blog, now a “book” in PressBooks.

PressBooks Import: Voila!

PressBooks Import: Voila!

 

 

Notes:

  1. Thanks to Brad Payne of BC Campus and Michael Geilser for contributions to this new feature
  2. Currently, images from WordPress files are not pulled directly into your PressBooks book — we only point to the images in your old blog. However, we do pull the images into your EPUB and PDF exports.
  3. Your chapters are imported with default “DRAFT” status. You’ll have to “publish” each one for the moment. We’ll add user control for this setting, eventually.
  4. We will be adding other import file sources (eg. docx) in the coming months, and we welcome (enthusiastically!) contributions to our open source code.
  5. *We had previous version of an import tool, built by Stephanie Leary. We disabled that when we rolled out PressBooks 2.0 in February 2013. This new importer used the previous tool as a starting point, but has made some significant changes.

New Feature: MS Word Footnote converter

We have a few clients who make heavy duty academic texts on PressBooks, and we’ve made their life easier with a new MS Word footnote converter. The first “in-production” book they did with us had ~100 footnotes in every chapter: getting those footnotes out of MS Word format and into PressBooks format was a bit of a pain.

We now have a little tool that will do this for you…:

  1. Paste your Word doc/chapter with footnotes into PressBooks
  2. In the Visual Editor, find the little “window” icon beside “FN”
  3. Click that… footnotes should be converted

See below:

PressBooks MS Word Footnote Converter

PressBooks MS Word Footnote Converter


PressBooks is a simple book production tool that makes ebooks & PDFs … Perhaps you’d like to make your own books?

Contact us if you run into any troubles: support@pressbooks.com

 

New Feature: PressBooks custom styles

PressBooks has a number of custom styles we use … bookish kinds of formats and design elements. We’ve just implemented a new feature: a style dropdown in the visual editor that will allow you to easily select text and apply these styles. Styles should be applied in all formats: PDF, EPUB, MOBI and Web, and all themes.

Currently the style menu supports:

  • Indent (will force the paragraph to indent, no matter what other rules would otherwise apply)
  • Hanging Indent (will make a hanging indent)
  • No Indent (will force the paragraph to not indent, no matter what other rules would otherwise apply)
  • Text Box (surrounds the text in a textbox)
  • Text Box (Shaded) (surrounds the text in a shaded textbox)
  • Text Box (Caption) (styling for a textbox caption)
  • Pullquote (pulls out and highlights a piece of text)
  • Pullquote (Left) (floats your pullquote left)
  • Pullquote (Right) (floats your pullquote right)

We will be adding more styles as time goes on. If you need something, or something isn’t working as expected, can you let us know? Support@pressbooks.com

See below for how to use the Styles menu:

  • Make sure you are on the Visual Editor tab
  • Make sure you are displaying the Kitchen Sink toolbar, click here
  • Highlight the text you want the style applied to
  • Click the Style dropdown, and select the style you wish to apply
PressBooks Style Tool

PressBooks Style Tool

 


PressBooks is a simple book production tool that makes ebooks & PDFs … Perhaps you’d like to make your own books?

Contact us if you run into any troubles: support@pressbooks.com

 

PressBooks in German and Estonian

PressBooks has added a couple of new languages: German (thanks Ron!) and Estonian (thanks Karol Kallas!).

If you would like to improve either translations, please contact us, or fork the files on github:

First, to change the PressBooks User Interface to a new language:

1. Login to PressBooks, and Edit Profile

Edit Profile

Edit Profile

2/3. Scroll Down and select your Language, then click on Update Profile

Select Language

Select Language

And Voila!

PressBooks Japanese

PressBooks Japanese

Now if you’d like to modify your EXPORTS as well …

4. Go to “Book Information”

Select Book Information

Select Book Information

5. Finally, choose your Export language. If supported, Exports will modify various text, such as Contents

Select Your Export Language

Select Your Export Language

IMPORTANT CAVEAT:

All of these translation features are FIRST DRAFTS. They all need improvement. You can find existing PressBooks translations on Github, please fork & improve. Please contact us if you would like to help: support@pressbooks.com.

 


PressBooks is a simple book production tool that makes ebooks & PDFs … Perhaps you’d like to make your own books?

Video Tutorial: Build your book with pressbooks.com (from BookMoxy.com)

It’s nice when users of PressBooks do things like this: make a video tutorial for using PressBooks! Mat McLeod of BookMoxy.com, a site that “offers free tutorials and articles showing step by step how to get your manuscript published on your own using various methods,” did just that. Here it is:

PressBooks Goes International, now in: Português, 日本語, Français, Español, 中國(繁體)

PressBooks has gone international! Or at least, we have started to. Our mission is: to make it easy for every writer and every publisher in the universe to make beautiful ebooks, print books, and webbooks  – no matter what language they write in, read in, or speak.

To that end, we’ve enlisted some friends and supporters to help make PressBooks’ user interface, and book outputs more global in nature. We now offer (alpha! needs improvement) PressBooks in the following languages:

  • Português/Portuguese [thanks to Israel Cerfin]
  • 日本語/Japanese [thanks to Daisuke Muro]
  • Français/French [thanks to Macina]
  • Español/Spanish [thanks to Silvia]
  • 中國(繁體)/Chinese (Traditional)  [thanks to Arik]

Here’s how you use PressBooks in different languages (for now … we’ll improve this down the road).

 

First, to change the PressBooks User Interface to a new language:

1. Login to PressBooks, and Edit Profile

Edit Profile

Edit Profile

2/3. Scroll Down and select your Language, then click on Update Profile

Select Language

Select Language

And Voila!

PressBooks Japanese

PressBooks Japanese

Now if you’d like to modify your EXPORTS as well …

4. Go to “Book Information”

Select Book Information

Select Book Information

5. Finally, choose your Export language. If supported, Exports will modify various text, such as Contents

Select Your Export Language

Select Your Export Language

IMPORTANT CAVEAT:

All of these translation features are FIRST DRAFTS. They all need improvement. Please contact us if you would like to help: support@pressbooks.com.

 

Get Your Book into Ebook Stores with BookBaby – and Start Selling

BookBaby-PressBooks-PageOne question we get a lot at PressBooks is: “can you help me get my book into the Kindle store, iBooks and other stores?” It’s relatively easy to do this yourself, but even easier to get someone else to do it for you.

Enter our new partnership with BookBaby. BookBaby will get your books into 11 different ebooks stores around the world, including: Kindle, Kobo, Nook, and iBooks. They’ll do it for $99 (PressBooks users get a 10% discount!), and you get 100% of royalties earned.

BookBaby does more than get your ebooks into stores — they can also help you make covers for your books.

You can get to BookBaby easily from the PressBooks interface, just click on the new “Sell” menu item in the left menu.

pressbooks-sell

 

Which will lead you to this page, from whence you may continue on to BookBaby and sign up there.

pressbooks-bookbaby

 

PressBooks New Feature: Customize Your CSS!

Today we are launching the feature that really reveals the real power of PressBooks: our CSS editor. In this post I’m going to tell you why this is exciting, and give a quick tutorial about how to use the new PressBooks CSS editor. (Caveat: it’s not completely polished… please give us feedback).

What Is CSS?

CSS, or Cascading Style Sheets, make up a core idea of how the modern web works: webpages are rendered in HTML, the “content” layer that tells you what is on a page; CSS is the “display” layer that tells you what the page should look like.

This is familiar to anyone who has spent a bit of time on blogging platforms. Different themes on your WordPress or Tumblr blogs look different (mostly) because of CSS. If you are a professional or semi-professional builder of ebooks, you similarly know about CSS.

PressBooks ebooks look the way they do because of CSS. And the PressBooks webbooks use CSS as well. What about print?

CSS to Make PDFs? Now I’ve Seen Everything!

The exciting thing for us is: PDF. Our PDF rendering engine (Prince) uses HTML + CSS to produce PDF outputs. We’ve been using this internally to produce the templates you find on PressBooks.com, and for clients: we absolutely love it.

Our new CSS editor means that if you are a web developer/designer with CSS chops you can now use PressBooks to create:

  • lovely print books, with your custom CSS

… in addition to:

  • lovely ebooks, with your custom CSS
  • lovely webbooks, with your custom CSS

Our New CSS Editing Interface

Today, we are rolling out the first cut of our interface for editing PDF, ebook, and web CSS in PressBooks. It will be improving, but below I’ll go over how it works, and show you an example of how to use the editor in practice.

How to Use the PressBooks CSS Editor: General Instructions

Step 1: Enable Custom Themes
Go to Appearance –> Themes

Select Appearance/Themes

Step 2: Activate PressBooks Custom CSS”

“PressBooks Custom CSS” –> Activate

(We’ve enlisted Ceiling Cat to help us make this new feature public. Thanks Ceiling Cat! … if you can suggest or design a better screencap for the PressBooks Custom CSS … please let us know.)

Activate Custom CSS

Activate Custom CSS

Step 3: Select Edit CSS
Under the Theme, select “Edit CSS”

Edit CSS

Edit CSS

 

Step 4: Select Output format and CSS base file
a. Select which output CSS you want to edit: Ebook, Web or PDF.

b. Select which CSS you want to modify from existing PressBooks themes

Select Files to Edit

Select Files to Edit

 

Step 5: Edit your CSS!

Caveats!

Caveats and improvements on the way:

  • font and image paths are complicated … we will improve this as time goes on

OK, Let’s Try it

Let’s say we like the Clark Theme, but we want to spice and customize the PDF output a little bit. In particular, we want to:

  • make all our Headers red and change the font to Times New Roman
  • change our Body font smaller, blue, and change it to Helvetica
  • make line spacing a bit looser, and get rid of justification

Make our Headers Red & Times New Roman

In our css we’ll find the following code:

h1, h2, h3, h4, h5, h6 {

font-family: Helvetica, Arial, sans-serif;
line-height: 1.4em;
font-weight: normal;

}

Which we will modify as follows:

h1, h2, h3, h4, h5, h6 {

font-family: Times New Roman, serif;
line-height: 1.4em;
font-weight: normal;
color: red;

}

Make Body font smaller, blue, change it to Helvetica, and loosen line-height

In our CSS file we find the following:

body {

font: 12pt/1.6 "Times New Roman", Georgia, serif;

}

And we will change it as follows:

body {

font: 9pt/1.6 Helvetica, sans-serif;
color: blue;

}

Make line spacing a bit looser, and get rid of justification

Start with:

p {

line-height: 1.2em;
text-align: justify;
margin-bottom: 0;
orphans: 3;
widows:3;

}

Modify to:

p {

line-height: 2em;
text-align: none;
margin-bottom: 0;
orphans: 3;
widows:3;

}

Now let’s look at the results.

Here is our original PDF export using the standard Clarke Theme:

Clarke PDF (Original Css)

Clarke PDF (Original Css)

And here is our new customized PDF output:

Custom PDF CSS (Clarke variant)

Custom PDF CSS (Clarke variant)

 

What about Ebooks and Webbooks?

This feature works in similar ways for webbooks and ebook custom CSS. Please test it out! …

Conclusions

We believe that modern web design technologies (HTML+CSS) is the way of the future for “book design.” This is already the case in ebooks, and, of course is what underpins the web. By launching this new featureset in PressBooks, we hope to help bring HTML+CSS to print design as well. Far from signalling the death of book design, we think that customizable templates in general, and HTML+CSS in particular, will bring in a flourishing of book design activity — just as customizable templates, HTML+CSS have resulted in an explosion of great design activity on the web.

This new feature in PressBooks is in alpha/beta testing stage, and we expect to make improvements in the coming weeks and months. Please contact us with bug reports, problems, suggestions and other feedback.

 

PressBooks 2.0 – Out with the Old in with the New

Dear PressBookers,

We may have been quiet, but we have been extremely busy at PressBooks worldwide HQ. Since November, PressBooks has been completely rebuilt, and we turned over the switch yesterday.

For an overview of how to use the “new PressBooks,” please see our new guide:

4-Step Guide to Making a Book in PressBooks (which you can also see below this post).

Here are the most significant changes in the new PressBooks:

  1. PDF exports should no longer fail
  2. We now export MOBI (Kindle format)
  3. We’ve introduced Book Themes, consistent with WordPress theme selection. Choose one Theme (from the Appearance menu), and it governs how your PDF, EPUB, MOBI and webbook look
  4. We’ve introduced Theme Options, with various style settings for PDF and Ebooks
  5. We’ve reworked our Export page: select whatever formats you want, and export all of them at once
  6. We have overhauled the Book Information page, including adding default information for required fields (so exports should always validate)
  7. EPUB, MOBI, and PDF exports are now validated using Epub Check and KindleGen. You won’t receive these error messages yet, but soon you will be.
  8. Tons of bug fixes and sundry improvements, big and small

As we rolled out this PressBooks version 2.0, we also stripped out a few things. Import. Selected Text Sharing. Custom CSS uploads. Possibly some other things. Let us know if you are missing something terribly. We’ll be adding these things back over time.

We’d love to get your feedback.

Or, maybe you’d like to start making a new book…?

Oh, one other thing: for those of you waiting for the Open Source Plugin … we plan to release it next week.

###

Longish 4-Step Guide to Making a Book with PressBooks

STEP 1. Add Book Information

The Book Information screen is where you edit and add important information about your book: author name, publication date, publisher. You can also upload your cover here, and add your copyright notice. You can fill in as little or as much information as you like.

PressBooks Book Information

Step 1: Add your Book Information, including title and author information.

 

STEP 2. Add/Organize Your Text

On this screen you can add, edit, and arrange the order of the contents of you book. Add chapters and parts, and edit it as you like. You can also add “frontmatter” here (things like your introduction, and preface), and “backmatter” (things like your index and bibliography).

organize-text

STEP 2. Add/Organize Your Text

 

STEP 3. Choose Your Book Design Theme

3a. Choose your theme

PressBooks comes with three professionally designed book design themes to choose from. Choosing a theme governs the look and feel of your exports, including: EPUB, Mobi, PDF and web.

themes

3a. Choose your theme

 

3b. Choose your theme options

You can also change the look of your book by changing the Theme options. You can decide whether or not you want a table of contents, whether you want chapter numbers added automatically, and adjust a few other things.

theme-options

STEP 3b. Theme Options

STEP 4. Export Your Book

PressBooks gives you a one-button export, and you can select: PDF, EPUB, Mobi (Kindle), as well as a few more exotic options.

STEP 4. Export your book

STEP 4. Export your book

 

Get Started!

You can start making a book right now … register or login to PressBooks here.

PressBooks August News: new designs, pricing, distribution, import from WordPress, CSS improvements, and Book!

 Dear PressBookers,

Happy August to you all. Here are some quick announcements from PressBooks Worldwide Headquarters, including the following:

1. New front page
2. New webbook / readview designs
3. Pricing announced
4. Distribution (to Kindle, Nook, iBooks etc)
5. Import from WordPress
6. Improved CSS
7. Book: A Futurist’s Manifesto Part 3 – unofficial launch

Continue reading