From fcaf06749607b02e11e4edc3b8ae8313e1a1ef91 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 15 Feb 2013 17:00:14 +0100 Subject: [PATCH] student-teacher customization --- librarian/pypdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1