fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nicer full html
[librarian.git]
/
librarian
/
pdf.py
diff --git
a/librarian/pdf.py
b/librarian/pdf.py
index
077a1e1
..
ace83af
100644
(file)
--- a/
librarian/pdf.py
+++ b/
librarian/pdf.py
@@
-235,6
+235,9
@@
def transform(wldoc, verbose=False, save_tex=None, morefloats=None,
with open(os.path.join(temp, 'cover.png'), 'w') as f:
c.save(f)
+ for img in document.edoc.findall('//ilustr'):
+ shutil.copy(img.get('src'), temp)
+
del document # no longer needed large object :)
tex_path = os.path.join(temp, 'doc.tex')