11-26-2010, 04:17 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Footer removal
High, I'm pretty new to all this. Here's my problem: I'm converting a book from a pdf. I managed to automatically remove the header easily enough since it's always the same thing, but the footer is different. It displays the page number... Now, since I'm going to be using this book on a kindle and the pages will be defined on the device depending on the size of my fonts, it seems to me like this "forced" page break is a problem (furthermore, it often happen right in the middle of a paragraphe. So it goes like:
"...and Mathieu walks PAGE 6 to the counter and says..." When I look in the HTML version, it looks like this: <br> <b>Page 4</b><br> <hr> Now, what I'm wondering (and I'm sure there a very simple way to do this I'm just not aware of) is: is there a way to tell calibre to delete every occurrences of this despite the difference in the number written after the "page"? (wow... does anyone understand my question?) Once I get this out of the way, I'll have a great time working with the file in Sigil and formatting it to my heart's content. I'm just hoping there's a way to avoid removing all those "page 15-16-17" manually... Thanks! |
11-26-2010, 04:49 AM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Read further here:
http://calibre-ebook.com/user_manual/regexp.html Try: Code:
<b>\s*Page\s+\d+\s*</b>\s*<br>\s*<hr> |
Advert | |
|
11-26-2010, 12:12 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
It works!!! And with the help of your link, I understand why it does.
Thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
footer removal help | icy | Calibre | 7 | 08-27-2010 02:21 PM |
Removing header and footer | radicalnomad | Calibre | 2 | 08-26-2010 11:34 AM |
Remove Footer | cdecaf | Calibre | 44 | 07-21-2010 06:48 AM |
Header/Footer removal | Solicitous | Calibre | 2 | 03-30-2010 06:53 AM |
BookDesigner - Footer font? | moneytoo | Sony Reader | 1 | 10-22-2007 12:31 PM |