Skip to content

Ludwiggle/ipynb2docx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ipynb2docx

Convert Juyter Notebooks to docx preserving LaTeX math and overall formatting.

Requirements

Usage

$ ipynb2docx <notebook.ipynb>

How it works

It converts the notebook to html with jupyter-nbconvert, then LaTeX math and equations are converted to png and embedded in the html. Finally pandoc converts the html to docx.

Possible issues

The css+Jupyter header in the html temporary html file is considered to end at the first html heading <h1>. If the temporary html starts with <h2> of <h3> and so on, the LaTeX expressions are not recognized.. fix in progress

About

Convert Juyter Notebooks to docx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages