X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/724310b910f3ec0aeb2a1fbd0189d5f588a00f8f..fcaf06749607b02e11e4edc3b8ae8313e1a1ef91:/librarian/pypdf.py diff --git a/librarian/pypdf.py b/librarian/pypdf.py index 68e0bd9..387f647 100644 --- a/librarian/pypdf.py +++ b/librarian/pypdf.py @@ -548,7 +548,7 @@ def fix_lists(tree): class EduModulePDFFormat(PDFFormat): def get_texml(self): - edumod = EduModule({"teacher": True}) + edumod = EduModule({"teacher": self.customization.get('teacher')}) texml = edumod.generate(fix_lists(self.wldoc.edoc.getroot())).encode('utf-8') open("/tmp/texml.xml", "w").write(texml)