07-29-2010, 05:38 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: none
|
HTML to PDF, blank pages after each chapter
Hi All,
I'm converting a very basic HTML file to PDF format with the following command line: ebook-convert [input file] [output file] --authors ["Author Name"] --title ["Title of Book"] --chapter //h:h1 and after each chapter, I have a blank page. The HTML file itself is very basic: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">> > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> </title> <style type="text/css"> /* <![CDATA[ */>[list of styles is here...] /* ]]> */ </style> </head> <body> <h1>PAGE 1 HEADER</h1> <p>Page 1 contents</p> <h1>PAGE 2 HEADER</h1> <p>Page 2 contents</p> <h1>PAGE 3 HEADER</h1> <p>Page 3 contents</p> </body> </html> Does anyone know why the end of each chapter has a blank page inserted afterwards? I'm not getting this if I use the same command line to output to epub or mobi. Many thanks! |
07-29-2010, 11:36 AM | #2 |
creator of calibre
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
this has been fixed in 0.7.11
|
07-30-2010, 03:50 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: none
|
Thanks Kovid - just to check, the latest version I could find on the website was 0.7.10 so presumably this means the issue is fixed in the next pending release?
|
07-30-2010, 05:01 AM | #4 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
08-02-2010, 01:00 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: none
|
Hi guys,
I tested the same file with Calibre 0.7.12 and it brings up the same problem - a blank page after each chapter. Wondering if anyone else out there is having this issue with PDF output...? |
08-02-2010, 03:08 PM | #6 |
creator of calibre
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Make sure you disable the insert page breaks before setting by setting it to
/ |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
blank pages on a pdf book | afsandiego | Sony Reader | 6 | 12-19-2015 05:52 AM |
PDF showing as blank pages in PB 301 | yskp | PocketBook | 8 | 09-27-2010 05:28 PM |
Problem with blank pages between chapters | AlexBell | ePub | 4 | 07-23-2010 07:01 AM |
Blank pages with iPad | timbgray | Calibre | 3 | 05-04-2010 09:43 PM |
Blank pages | JSWolf | Calibre | 4 | 11-29-2008 01:22 PM |