X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/a91e41e489588ebad550cd9e22d157062effa2ff..ff2a09e9ecd8e9bede2d3572942bcd32f66f6198:/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'