From 07793241cd7b314aadc8bad12d1c327545545e19 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 1 Sep 2010 12:01:41 +0200 Subject: [PATCH 1/1] minor fix --- librarian/epub.py | 2 +- librarian/epub/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;*/ } /* =================================================== */ -- 2.20.1