Script to convert notebook.ipynb, containing russian/cyrrilic symbols, into notebook.pdf.
Installation | Usage | Output |
---|---|---|
python install.py |
ipy2pdf notebook.ipynb |
notebook.pdf |
That's easy.
Telegram-bot is available at @ipynbot
Just send notebook.ipynb
to him.
You need to have pdflatex
already installed on your system. And of course jupyter
🌚.
On my system I have MacTeX installed.
This script executes following commands:
jupyter nbconvert <>.ipynb --to latex
- Add line
\usepackage[T2A]{fontenc}
after\usepackage[T1]{fontenc}
pdflatex -interaction=nonstopmode <>.tex
- Removes some logs and temporary files/directories
I appreciate any kind of feedback 🙂.