Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for printing book / print to PDF #20

Closed
myrtleTree33 opened this issue Apr 5, 2014 · 1 comment
Closed

Add support for printing book / print to PDF #20

myrtleTree33 opened this issue Apr 5, 2014 · 1 comment

Comments

@myrtleTree33
Copy link

It would be nice to have a separate CSS template / button option for exporting books to PDF :)

@AaronO
Copy link
Contributor

AaronO commented Apr 5, 2014

.epub & .pdf support are in the works (see GitbookIO/gitbook#10).

Since gitbook@0.1.1 (released yesterday). There's a --format flag (-f for short). You can generate a PDF friendly HTML file using --format page and then save as a .pdf using chrome.

This will soon be fully integrated into gitbook but in the meantime that's what you can do ti generate a nice .pdf file for your book.

@myrtleTree33 Let me know if that works for you.

PS: Closing this issue for now.

@AaronO AaronO closed this as completed Apr 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants