From: Radek Czajka Date: Wed, 1 Sep 2010 10:01:41 +0000 (+0200) Subject: minor fix X-Git-Tag: 1.7~272 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/07793241cd7b314aadc8bad12d1c327545545e19?hp=ae0e673a17c3edcdca910fafb84eeff9dfe7b588 minor fix --- diff --git a/librarian/epub.py b/librarian/epub.py index c1e3f4e..c25ba19 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -286,7 +286,7 @@ def transform(provider, slug, output_file=None, output_dir=None): if main_text is not None: replace_characters(main_text) - for chunk_no, chunk_xml in enumerate(chop(main_text), chunk_counter): + for chunk_xml in chop(main_text): chunk_html, chunk_toc = transform_chunk(chunk_xml, chunk_counter, annotations) toc.extend(chunk_toc) zip.writestr('OPS/part%d.html' % chunk_counter, chunk_html) diff --git a/librarian/epub/style.css b/librarian/epub/style.css index f9fa978..652d903 100644 --- a/librarian/epub/style.css +++ b/librarian/epub/style.css @@ -15,7 +15,7 @@ a #book-text { margin: 2em; - margin-right: 9em; + /*margin-right: 9em;*/ } /* =================================================== */