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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2019, 09:03 AM   #1
Maarten1999
Junior Member
Maarten1999 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2019
Device: Kindle
Remove useless footer showing up in text

Hello,

A recently imported epub book has a footer inserted in the text in the wrong place. is it possible to remove this footer automatically>

it Look like :

<p class="calibre2">bla bla bla bla bla THIS IS THE TITLE OF THE BOOK 7/10/08 11:14 AM Page 152</p>
<p class="calibre2"> <i class="calibre4">152</i></p>
<p class="calibre2">THIS IS THE TITLE OF THE <i class="calibre4">B </i> OOK</p>
<p class="calibre2">More bla bla bla bla.</p>

I would like to look it like

<p class="calibre2">bla bla bla bla bla More bla bla bla bla.</p>

The book has 900 pages. I'm cleaning it up manually but all would be greatly appreciated.

Thanks.
Maarten1999 is offline   Reply With Quote
Old 09-18-2019, 11:08 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 24,025
Karma: 27923385
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT, Galaxy Tab A, Kobo Aura2
That looks like it was a PDF conversion that has more than the usual from PDF problems (see sticky in the Conversion forum).
IMHO If some place sold it to you like that, return it and ask for your money back.


If you converted from a PDF you bought (the bit about reading the sticky still applies), you really will need to learn basic REGEX (<<that is a clue to search MR for tutorials. )
From your example, this is a very dirty case. Even if it was a fairly clean case. You are looking at least a dozen passes (varied search terms) for the removal. And a bunch more to do the 'joins' after the removal.

IMHO 90% of those are Search->Eyeball the find -decide Replace Next or Search (skip the replace). Repeat for the term till the end. New term. Do it all again.
This could take less than 1hr if you are experienced with REGEX term crafting.

Then you do your 'Join' set of S&R's to clean broken paragraphs.

OTOH If this was a OCR scan PDF, there are going to be tons of random errors that turn that hour into much longer because you need to do the find BY all the variations
theducks is offline   Reply With Quote
Reply

Tags
footer

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove footer in epubs Rizla Kobo Reader 13 05-14-2015 06:00 PM
Can't remove a footer. kamanza Conversion 9 08-09-2011 08:51 PM
Remove made by footer drMerry Recipes 1 05-27-2011 06:03 PM
Remove Footer cdecaf Calibre 44 07-21-2010 06:48 AM
remove PDF footer containing variable? irisclara Calibre 10 03-06-2010 11:53 PM


All times are GMT -4. The time now is 07:59 AM.


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