GitbookIO / example

Simple GitBook example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frustrating example: cannot build PDF

denisshevchenko opened this issue · comments

Hi!

Suppose I'm a total novice in GitBook. I've installed gitbook 0.3.0 and now I want to try something a-la "Hello World". So:

$ git clone git@github.com:GitbookIO/example.git
$ cd example/

And now I try to build HTML-book:

$ gitbook serve ./

All works fine: I browse http://localhost:4000/ and here is my excellent HTML-book.

Now I want to build pdf-version. So I've read this official example and try:

$ sudo npm install gitbook-pdf -g
$ gitbook pdf ./
Starting build ...

And... nothing. It's just freezes, and I don't see PDF here. But wait! I've done anything as shown in the examples - and no result...

I think it's bad: novice tries to build PDF step-by-step, but he cannot do it.