gitbook生成pdf需要ebook-convert工具,这个是在calibre软件内的,下载好把ebook-convert链接放在PATH目录中即可

https://calibre-ebook.com/download

ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin