diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-05-29 17:07:03 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-05-29 17:07:03 +0200 |
commit | 46321fffd93804edd7403328f51ed611daddd720 (patch) | |
tree | d011947212e95558d1a964bd0ef439fd52dafe07 /README.md | |
parent | 89ba17de84b6a9c9466bf614a4a82e48d5c48b7a (diff) | |
download | gitbook-46321fffd93804edd7403328f51ed611daddd720.zip gitbook-46321fffd93804edd7403328f51ed611daddd720.tar.gz gitbook-46321fffd93804edd7403328f51ed611daddd720.tar.bz2 |
Use ebook-convert for pdf generation
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -31,7 +31,7 @@ Options for commands `build` and `serve` are: ``` -o, --output <directory> Path to output directory, defaults to ./_book --f, --format <name> Change generation format, defaults to site, availables are: site, page, pdf, json +-f, --format <name> Change generation format, defaults to site, availables are: site, page, pdf, json, mobi, epub --config <config file> Configuration file to use, defaults to book.json ``` @@ -99,8 +99,7 @@ You can publish your books to our index by visiting [GitBook.io](http://www.gitb GitBook can generate your book in the following formats: * **Static Website**: This is the default format. It generates a complete interactive static website that can be, for example, hosted on GitHub Pages. -* **PDF**: A complete PDF book with exercise solutions at the end of the book. Generate this format using: ```gitbook pdf ./myrepo```. You need to have [gitbook-pdf](https://github.com/GitbookIO/gitbook-pdf) installed. -* **eBook**: A complete eBook with exercise solutions at the end of the book. Generate this format using: ```gitbook ebook ./myrepo```. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed. +* **eBook**: A complete eBook with exercise solutions at the end of the book. Generate this format using: ```gitbook ebook ./myrepo```. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed. The output format could be **PDF**, **ePub** or **MOBI**. * **Single Page**: The book will be stored in a single printable HTML page. This format is used for conversion to PDF or eBook. Generate this format using: ```gitbook build ./myrepo -f page```. * **JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```. |