ctf icon indicating copy to clipboard operation
ctf copied to clipboard

how to build a Pdf

Open legendero opened this issue 9 years ago • 0 comments

i've spent more time than i'd like to admit trying to build one, and finally did successfully, and here is how to do it on osx:

  • install gitbook by running npm install gitbook-cli -g
  • download this project and extract it
  • inside it run 'gitbook install'
  • download Calibre application https://calibre-ebook.com/download
  • move the calibre.app to your Applications folder
  • create a symbolic link sudo ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin
  • if its still gives an error after creating a symbolic link you can add it to your PATH to fix it export PATH=$PATH:/Applications/calibre.app/Contents/MacOS
  • now it should work, inside the directory run gitbook pdf

i think thats about it, good luck.

legendero avatar Apr 24 '17 19:04 legendero