fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
student-teacher customization
[librarian.git]
/
librarian
/
pypdf.py
diff --git
a/librarian/pypdf.py
b/librarian/pypdf.py
index
68e0bd9
..
387f647
100644
(file)
--- a/
librarian/pypdf.py
+++ b/
librarian/pypdf.py
@@
-548,7
+548,7
@@
def fix_lists(tree):
class EduModulePDFFormat(PDFFormat):
def get_texml(self):
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)
texml = edumod.generate(fix_lists(self.wldoc.edoc.getroot())).encode('utf-8')
open("/tmp/texml.xml", "w").write(texml)