Building a project - triplecanopy/b-ber GitHub Wiki

Building a project

To output a project, use the build command. Detailed information on each format can be found in Output formats.

All formats

The following command will build an EPUB 3.0, Mobi, PDF, Web, Reader, and XML document.

$ bber build

EPUB 3.0

$ bber build epub

Note: Building other Epub versions is not supported.

Reader

$ bber build reader

Mobi

This creates a Mobi file using Calibre's command line tool ebook-convert 1.

The Mobi file is created using Calibre's --mobi-file-type=both flag, so it contains both the Mobi 7 and KF8 formats.

$ bber build mobi

PDF

This creates a PDF using Calibre's command line tool ebook-convert 1.

$ bber build pdf

Web

$ bber build web

XML

$ bber build xml

[1] Once Calibre is installed, the ebook-convert should be automatically available in the console. If not, the command can be made available through either Calibre's settings or with a symlink. Find out more about installing the Calibre CLI here.

⚠️ **GitHub.com Fallback** ⚠️