简体   繁体   中英

Convert Jupyter Notebook to PDF

How i can convert jupyter notebook in to pdf file?

I work on some data project which requires to send ready report to clients in pdf file. I am missing last part with pdf creation.

I already installed MikTex . I used following code but it gives syntax error.

jupyter nbconvert --to pdf notebook.ipynb

I expect that pdf report will be saved in my folder.

怎么样

File -> Download as -> PDF via LaTeX(.pdf)

1st install 'texlive-xetex'
then convert it using 'nbconvert'

sudo apt-get install texlive-xetex
jupyter nbconvert --to pdf test.ipynb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM