Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2014, 04:30 PM   #1
johnnyr
Connoisseur
johnnyr began at the beginning.
 
johnnyr's Avatar
 
Posts: 67
Karma: 30
Join Date: Nov 2008
Device: Kindle 2
Remove All Page Breaks in MOBI or EPUB?

Hello,

I'm trying to convert a Mobi (or Epub) File to PDF. However in this particular document there seems to be manual page breaks in the MOBI and EPUB structure, such that each section (there are ~300) are marked with a page break, even those that do not take even half or 1/4 of a page.

Converting to PDF results in a 440 page document that could easily be halved if I could remove these page breaks. I know Calibre is not putting in the page breaks and that they are built into the structure of the MOBI.

Is there an easy way to remove all page breaks from the MOBI file before converting to PDF?

Thank you!
johnnyr is offline   Reply With Quote
Old 11-10-2014, 05:33 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Open the EPUB (convert if necessary from MOBI) in the calibre editor, the shortcut key is "T".

Select all files, right click and merge them. Then edit the HTML to remove any manual page-break-(before|after) references. Check the CSS to make sure none are hiding there.
eschwartz is offline   Reply With Quote
Advert
Old 11-10-2014, 08:08 PM   #3
johnnyr
Connoisseur
johnnyr began at the beginning.
 
johnnyr's Avatar
 
Posts: 67
Karma: 30
Join Date: Nov 2008
Device: Kindle 2
Quote:
Originally Posted by eschwartz View Post
Open the EPUB (convert if necessary from MOBI) in the calibre editor, the shortcut key is "T".

Select all files, right click and merge them. Then edit the HTML to remove any manual page-break-(before|after) references. Check the CSS to make sure none are hiding there.
You are incredible. Just merging them was enough. Thank you!
johnnyr is offline   Reply With Quote
Old 11-10-2014, 09:05 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by johnnyr View Post
You are incredible. Just merging them was enough. Thank you!
You're welcome.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOBI to EPUB conversion in calibre adds page breaks waynn Conversion 15 04-05-2017 03:05 PM
Regex Help: Find page number & Replace+Remove 2x Line Breaks in Sigil Contre-jour Sigil 9 02-01-2013 10:47 AM
Epub to PDF can't remove page breaks between headers Vykan12 Calibre 11 07-25-2012 03:01 AM
epub to mobi h1 page breaks not starting on new page wannabee Conversion 4 08-02-2011 12:46 AM
epub to mobi loses page breaks stevent10993 Conversion 5 07-20-2011 12:43 AM


All times are GMT -4. The time now is 02:48 PM.


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