X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/a91e41e489588ebad550cd9e22d157062effa2ff..141733d3db8c11f1eb69a9c0195f07c3c2ed3f8f:/librarian/epub.py diff --git a/librarian/epub.py b/librarian/epub.py index 1ea2688..bf58a9f 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -520,6 +520,8 @@ def transform(wldoc, verbose=False, output_file = NamedTemporaryFile(prefix='librarian', suffix='.epub', delete=False) zip = zipfile.ZipFile(output_file, 'w', zipfile.ZIP_DEFLATED) + functions.reg_mathml_epub(zip) + # write static elements mime = zipfile.ZipInfo() mime.filename = 'mimetype'