minor fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 1 Sep 2010 10:01:41 +0000 (12:01 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 1 Sep 2010 10:01:41 +0000 (12:01 +0200)
librarian/epub.py
librarian/epub/style.css

index c1e3f4e..c25ba19 100644 (file)
@@ -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)
index f9fa978..652d903 100644 (file)
@@ -15,7 +15,7 @@ a
 #book-text\r
 {\r
        margin: 2em;\r
-       margin-right: 9em;\r
+       /*margin-right: 9em;*/\r
 }\r
 \r
 /* =================================================== */\r