Skip to content

akarazeevprojects/ipy2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

33 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ipy2pdf

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.

Requirements

You need to have pdflatex already installed on your system. And of course jupyter ๐ŸŒš.

On my system I have MacTeX installed.

In case of troubles

This script executes following commands:

  1. jupyter nbconvert <>.ipynb --to latex
  2. Add line \usepackage[T2A]{fontenc} after \usepackage[T1]{fontenc}
  3. pdflatex -interaction=nonstopmode <>.tex
  4. Removes some logs and temporary files/directories

I appreciate any kind of feedback ๐Ÿ™‚.

About

๐Ÿ Python script produces .pdf file from .ipynb (which may contain Cyrillic characters)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages