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-21-2021, 04:03 AM   #1
Fenix511
Junior Member
Fenix511 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Sony PRS T2
» SO many page breaks

Good morning,
I've been running into problems with just one book. When trying to convert its .azw into .epub that worked like it always does, but this time it made a 350 pager into close to 2800 pages. I guess there's something wrong with interpreting line/ paragraph breaks into page breaks, but have no idea how to fix that, other than converting it into .txt first and removing all paragraphs manually.

When I was looking for a solution yesterday on my cell, I found a suggestion somewhere to change some parameter "from 0.5 to 0.015" or something, but for the life of me I can't find that text again - anyone knows of a way to play around with something like that in calibre? Any help would be greatly appreciated.
Cheers, Fenix
Fenix511 is offline   Reply With Quote
Old 11-21-2021, 04:28 AM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
In the Convert screen, if you head down to "EPUB output" there is an option "Do not split on page breaks". Place a tick in the box

Also for "Split files larger than:" type in "0" which will change it to Disabled. This may cause problems though if the individual xhtml files are too large. Best check after the conversion.

Does that solve the issue?
Karellen is offline   Reply With Quote
Advert
Old 11-21-2021, 04:44 AM   #3
Fenix511
Junior Member
Fenix511 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Sony PRS T2
No, but thanks for the input. I found a very easy way via Open Office, though, by setting the auto-correct option "merge single-row paragraphs" at about 30%. Had to convert into .txt and back, and it didn't look pretty in OO itself. But back in calibre and converted into an .epub it looks exactly as it should. So for now I'm hoping it was just weirdly formatted raw material.

Have a good weekend!
Fenix511 is offline   Reply With Quote
Old 11-21-2021, 05:36 AM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the Structure detection section of the conversion dialog change the detect chapters setting to just /

Your book probably uses class="chapter" on every paragraph.
kovidgoyal is online now   Reply With Quote
Old 11-21-2021, 05:54 AM   #5
Fenix511
Junior Member
Fenix511 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Sony PRS T2
Now that worked like a charm! Thx a lot. If only I hadn't been so impatient ;o)

Problem solved,
Fenix511 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph breaks become page breaks when converting to mobi Allreader Conversion 6 07-19-2021 01:08 AM
Help with assigning correct page breaks and page numbers to a textbook [converting fr cateroseg Calibre 0 02-14-2018 10:32 PM
Page Breaks etc genfind General Discussions 6 02-24-2012 02:20 PM
epub to mobi h1 page breaks not starting on new page wannabee Conversion 4 08-02-2011 12:46 AM
Adding page breaks in Calibre breaks ePubcheck validation bookraft Conversion 16 03-01-2011 01:23 PM


All times are GMT -4. The time now is 09:26 PM.


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