09-12-2024, 01:03 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2024
Device: Google books
|
Newbie question, removing headers and footers
Hello, I'm gobsmacked at the versatility of this program, which I discovered only a couple of hours ago. My question is simple, how do I strip out page numbers and titles (book, author) on every page of a PDF so they don't appear in the middle of the epub text.
Many thanks |
09-12-2024, 03:28 PM | #2 |
Fanatic
Posts: 507
Karma: 2267928
Join Date: Nov 2015
Device: none
|
Regular expressions. You'll need to review the text manually anyway, as some paragraphs are getting split across the pages between the sentences.
|
09-12-2024, 04:38 PM | #3 |
Well trained by Cats
Posts: 30,506
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There are a couple of good REGEX tutorials here on Mobielread
(That is how I got started) Another tip is grab a REGEX cheatsheet ( PCRE, the version Calibre uses does not support every one, but that is not a hindrance) |
09-12-2024, 05:17 PM | #4 |
Grand Sorcerer
Posts: 11,792
Karma: 232664548
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Converting from PDF to any other format generally produces a shitty result. PDF files are best used as they are. They're not really suitable for converting.
|
09-12-2024, 05:28 PM | #5 |
Wizard
Posts: 1,403
Karma: 7000000
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
You should also post a sample of the "page numbers and titles" code and we can probably help you form the regex to delete them.
|
09-13-2024, 05:43 AM | #6 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2024
Device: Google books
|
Problem bypassed
Many thanks to all who replied.
In view of the difficulties, I looked harder and found an ePub version of the book, which is perfect. Thanks again! |
Tags |
footers, headers |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex for removing headers and footers | Mamaijee | Conversion | 3 | 05-26-2011 02:19 PM |
Removing Headers and Footers Here's What I Did | allowingtoo | Workshop | 0 | 02-16-2011 09:46 PM |
Removing Headers/Footers Help? | Anarel | Workshop | 10 | 11-09-2010 01:53 PM |
Pls help with removing headers /footers | Mamaijee | Calibre | 0 | 09-19-2010 02:29 PM |
Scanning and removing footers/headers | monsieurms | Workshop | 8 | 12-14-2009 07:12 PM |