Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2010, 05:38 AM   #1
ibarro
Junior Member
ibarro began at the beginning.
 
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!
ibarro is offline   Reply With Quote
Old 07-29-2010, 11:36 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
this has been fixed in 0.7.11
kovidgoyal is offline   Reply With Quote
Old 07-30-2010, 03:50 AM   #3
ibarro
Junior Member
ibarro began at the beginning.
 
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?
ibarro is offline   Reply With Quote
Old 07-30-2010, 05:01 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,863
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by ibarro View Post
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?
Correct.
DoctorOhh is offline   Reply With Quote
Old 08-02-2010, 01:00 PM   #5
ibarro
Junior Member
ibarro began at the beginning.
 
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...?
ibarro is offline   Reply With Quote
Old 08-02-2010, 03:08 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Make sure you disable the insert page breaks before setting by setting it to

/
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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 on a pdf book afsandiego Sony Reader 2 09-13-2009 09:32 PM
Blank pages JSWolf Calibre 4 11-29-2008 01:22 PM


All times are GMT -4. The time now is 02:38 AM.


MobileRead.com is a privately owned, operated and funded community.