Fixed formatting for PDF.
I finally learned that the raw cells let you put latex directly into the output. So now I have the appendix being created without the [1] %%latex showing up in the output. Also wrote code to parse the .tex file to make the Preface a chapter without numbering, so it is now a proper preface, and not "chapter 0". I have not touched the Windows generation tools, so PDF generation in Windows is now broken. I don't think I care.
This commit is contained in:
1 parent
e1c3e8a8eb
commit
515b03ec63
7 files changed
+50
-43
No files matched your search
+2
-1
@@ -5,7 +5,8 @@ echo "merging book..."
|
||||
python merge_book.py > Kalman_and_Bayesian_Filters_in_Python.ipynb
|
||||
|
||||
echo "creating pdf..."
|
||||
ipython nbconvert --to PDF --template book Kalman_and_Bayesian_Filters_in_Python.ipynb
|
||||
ipython nbconvert --to latex --template book Kalman_and_Bayesian_Filters_in_Python.ipynb
|
||||
ipython to_pdf.py
|
||||
|
||||
mv Kalman_and_Bayesian_Filters_in_Python.pdf ..
|
||||
echo "done."
|
||||
|
||||
Reference in new issue
Block a user