Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-06-2011, 11:16 PM   #1
NVash
Wandering Vagabond
NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.
 
NVash's Avatar
 
Posts: 282
Karma: 350000
Join Date: Apr 2010
Device: iPod Touch
Any Way To Delete Titles And Page Numbers?

In many books they have the author name, title of the book and page number on each page. Is there any way to remove them using Calibre?
NVash is offline   Reply With Quote
Old 01-07-2011, 01:30 AM   #2
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
What format are these books? If they're PDFs and you're attempting to convert to something else, you can enable the header and footer regular expressions during conversion and then write appropriate regular expressions to remove the header and footer.

Note that you have to check the checkbox as well as fill out the regular expression. Too often I find myself writing the perfect regular expression, doing a conversion, looking at the output and wondering why it didn't work when it did during testing. It's always because I forgot to check the checkboxes.
toddos is offline   Reply With Quote
Old 01-07-2011, 01:39 AM   #3
NVash
Wandering Vagabond
NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.NVash ought to be getting tired of karma fortunes by now.
 
NVash's Avatar
 
Posts: 282
Karma: 350000
Join Date: Apr 2010
Device: iPod Touch
Yes, theyre PDFs. How do I do that? What menu do I go into and how do I get there? Please forgive me, Im still kind of new to this so I really have no idea what Im doing.
NVash is offline   Reply With Quote
Old 01-07-2011, 02:10 AM   #4
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
It's in the conversion dialog
  1. Select the book you want to convert
  2. Open the conversion dialog (shortcut: c)
  3. Make sure the Input format in the top left is PDF (this should be the case unless you have other formats attached the to book already)
  4. Click on Structure Detection

From here you have "Remove Header" and "Remove Footer" options. They are pre-populated by default with a regular expression that probably won't work for you. For best results, you'll have to figure out the correct regular expressions on your own. This is where the test mode (the wand-looking buttons to the right of the regular expression text fields) is extremely useful. Google for a python regular expression reference and then build the expression you need to remove the headers and footers from your book. Just remember to check the checkboxes when you're done before you start the conversion. Also, it's probably a good idea to use the "preprocess input file" option as that can make building your regular expressions easier (it's not going to do it for you, but by preprocessing the contents of what you're running the expressions over should be more uniform).
toddos is offline   Reply With Quote
Old 01-07-2011, 02:55 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
you may find it easier to google pdfscissors & use that to remove all the headers & footers before adding pdf to calibre. saves having to learn regex syntax.
cybmole is offline   Reply With Quote
Old 01-07-2011, 07:13 AM   #6
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 12,882
Karma: 35535698
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
Dear Author wrote a how-to guide on using Calibre to remove headers and footers from PDFs. It takes some experimenting, but is worth the effort for a clean conversion.

http://dearauthor.com/wordpress/2010...6-inch-screen/ It's the "REGULAR EXPRESSIONS" section about half-way down the post.
library addict is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a hack for displaying page numbers rather than location numbers? nesler Kindle Developer's Corner 16 02-15-2011 12:00 AM
Best Way To Delete Page Numbers? gtshadow Calibre 5 11-18-2010 04:53 AM
Page numbers Fincary Astak EZReader 4 02-18-2010 03:06 PM
Series Titles and Numbers jgoulden Calibre 9 12-29-2009 05:43 PM
Page numbers imported as titles... :-/ ^_Pepe_^ Sony Reader 2 10-08-2007 08:39 AM


All times are GMT -4. The time now is 02:49 AM.


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