How to install
- Add this repo to your path (or run
install.shwhich does just that).
How to use with latex content in Jupyter
- Put desired packages, definitions, etc. into the
template.tplxfile in this repo.
convertpdf.sh title src.ipynbto convert your Jupyter notebook into a PDF with the code (and outputs) inlined, make sure to call it in the directory of the notebook. The title will be
- The resulting PDF with
src.pdfin the cwd, along with other random latex junk.
This isn't any additional functionality over jupyter, just a convenient wrapper.
How to add latex content to Jupyter
Take a typical ipython notebook:
With a cell highlighted, click on the cell menu > cell type > raw.
Then an ipython notebook like this:
Will look like this PDF after running
convertpdf.sh "Homework 2" solutions2.ipynb:
Yes, I hardcoded my name. Change