Convert Juyter Notebooks to docx preserving LaTeX math and overall formatting.
$ ipynb2docx <notebook.ipynb>
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.
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