|
|
#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 |
|
|
|
|
|
#2 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 531
Karma: 2268308
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
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) |
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,002
Karma: 243829945
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.
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,688
Karma: 9500498
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.
|
|
|
|
| Advert | |
|
|
|
|
#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 |