Created
February 15, 2014 20:02
-
-
Save jmpinit/9024534 to your computer and use it in GitHub Desktop.
Simple zsh script to convert IPython Notebook files to PDFs. Requires IPython version >1 and wkhtmltopdf utility.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
ipython nbconvert "$1" | |
NAME=$(basename "$1" .ipynb) | |
wkhtmltopdf "$NAME.html" "$NAME.pdf" | |
rm "$NAME.html" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment