)
)
elif element.tag in ('naglowek_podrozdzial', 'naglowek_scena'):
+ if not toc:
+ toc.append(
+ (
+ epub.Link(
+ "part%d.xhtml" % chunk_no,
+ " ",
+ "part%d" % chunk_no
+ ),
+ []
+ )
+ )
+
subnumber = len(toc[-1][1])
toc[-1][1].append(
epub.Link(
spine = output.spine
- functions.reg_mathml_epub(zip)
+ functions.reg_mathml_epub(output)
if os.path.isdir(ilustr_path):
ilustr_elements = set(ilustr.get('src')