Im trying to create a report from my IPython notebook. Im using the toc extension to create a toc for my nb. I already converted the notebook to html, but the toc is not shown and is not linking to the rest of the doc. Is there any way to convert to one of the specified fromat and still keep a link-able (or even non-link-able) TOC?
相关问题
- Access IPython's profile history (history.sqli
- Pandas and NumPy default width change on startup
- prevent overlapping bars using seaborn with pandas
- Issues with tk in ipython/jupyter
- Save iPython Jupyter Notebook Widgets to PNG/PDF/J
相关文章
- cython in jupyter notebook
- python: ignoring leading “>>>” and “…” in interact
- how to print source code of object I defined use
- IPython won't start
- Ipython kernel error after uninstalling anaconda
- Draw horizontal lines from x=0 to data points in m
- How can i force SHIFT+ENTER to run selection and e
- How to set the default background/text color schem
Assuming you use IPython 1.x you have the following options to include the toc in the pdf
use the latex_book template
(
ipython nbconvert --to=latex --template=latex_book --post=pdf file.ipynb
)extend the latex_article (default) template
Create a file with the following content (e.g. toc_latex.tplx) in the working dir:
Use it as a template like
ipython nbconvert --to=latex --template=toc_latex --post=pdf file.ipynb
If you use IPython 2.x
use the latex_report template
(
ipython nbconvert --to=latex --template=latex_report --post=pdf file.ipynb
)the custom template could be something like