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 09-12-2024, 01:03 PM   #1
Boblarota
Junior Member
Boblarota began at the beginning.
 
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
Boblarota is offline   Reply With Quote
Old 09-12-2024, 03:28 PM   #2
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
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.
Sarmat89 is offline   Reply With Quote
Advert
Old 09-12-2024, 04:38 PM   #3
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: 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)
theducks is offline   Reply With Quote
Old 09-12-2024, 05:17 PM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,813
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.
Sirtel is offline   Reply With Quote
Old 09-12-2024, 05:28 PM   #5
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,407
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.
Karellen is offline   Reply With Quote
Advert
Old 09-13-2024, 05:43 AM   #6
Boblarota
Junior Member
Boblarota began at the beginning.
 
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!
Boblarota is offline   Reply With Quote
Reply

Tags
footers, headers


Forum Jump

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


All times are GMT -4. The time now is 08:26 AM.


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