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 Today, 04:25 AM   #1
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 287
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Transform html to remove pagebreaks = merging files

I want to remove any instances of <div class="mbp_pagebreak" id="calibre_pb_\d+"></div> as part of the conversion process.

But if I use the transform html tool/function, instead of the end epub having one chapter per file, a bunch of the files get merged together and it's a mess.

I'm using 'if the tag has class mbp_pagebreak remove tag only'. I cannot stress enough that I don't know what I'm doing here, so possibly the issue is I'm using the wrong rule! I have experimented with other rules but they either don't remove the mbp_pagebreak or files get merged together.

Don't know if I'm doing something wrong or if this just isn't doable as part of conversion?
Siavahda is offline   Reply With Quote
Reply

Tags
conversion, pagebreak remove


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing HTML files causing unwanted merging and duplication of books Axius27 Calibre 2 02-17-2024 08:06 AM
Remove page break between html files Christrick Editor 2 07-09-2020 01:11 PM
Merging multiple HTML files into one HTML file skoobwoman Workshop 45 07-11-2014 10:46 AM
Merging several Html files into one file nesseainie Calibre 8 06-03-2009 02:06 PM


All times are GMT -4. The time now is 10:06 AM.


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