Skip to content
Jupyter notebook extension for exporting notebook as MS Word doc
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
wordexport fix filename quoting Apr 26, 2018
LICENSE Initial commit Jan 18, 2018
README.md update readme Jan 18, 2018
_version.py First commit of extension as used in TM351_17J Jan 18, 2018
setup.py First commit of extension as used in TM351_17J Jan 18, 2018

README.md

nb_extension_wordexport

Jupyter notebook extension for exporting notebook as MS Word doc

Install:

pip install git+https://github.com/innovationOUtside/nb_extension_wordexport.git

To upgrade a current installation to the latest repo version without updating dependencies:

pip install --upgrade --no-deps git+https://github.com/innovationOUtside/nb_extension_wordexport.git

Wordexport

Requires pandoc: !apt-get install -y pandoc

Enable extension:

jupyter bundlerextension enable --py wordexport.wordexport --sys-prefix

In TM351 VM, restart server if required:

systemctl restart jupyter.service

Trying customisation:

//via http://stackoverflow.com/a/29484938/454773

pandoc -D docx > my_template.docx

Edit the styles in my_template.docx.

I added a logo image in header but didn't seem to work in the following...

pandoc -s myfile.html --template=my_template -o test64.docx

You can’t perform that action at this time.