fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pdf'
[librarian.git]
/
librarian
/
epub.py
diff --git
a/librarian/epub.py
b/librarian/epub.py
index
58d4bc0
..
bb3123d
100644
(file)
--- a/
librarian/epub.py
+++ b/
librarian/epub.py
@@
-311,7
+311,7
@@
def transform(provider, slug=None, file_path=None, output_file=None, output_dir=
# every input file will have a TOC entry,
# pointing to starting chunk
# every input file will have a TOC entry,
# pointing to starting chunk
- toc = TOC(node_name(input_xml.find('.//'+DCNS('title'))), chunk_counter)
+ toc = TOC(node_name(input_xml.find('.//'+DCNS('title'))),
"part%d.html" %
chunk_counter)
chars = set()
if first:
# write book title page
chars = set()
if first:
# write book title page