Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2011, 12:16 AM   #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, 02: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: 694
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, 02: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, 03: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: 694
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, 03: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: 2,962
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
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, 08:13 AM   #6
library addict
Wizard
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: 2,285
Karma: 2716010
Join Date: Nov 2010
Location: USA
Device: Sony PRS650, Kobo Mini, Nexus 7 2
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:00 AM
Best Way To Delete Page Numbers? gtshadow Calibre 5 11-18-2010 05:53 AM
Page numbers Fincary Astak EZReader 4 02-18-2010 04:06 PM
Series Titles and Numbers jgoulden Calibre 9 12-29-2009 06:43 PM
Page numbers imported as titles... :-/ ^_Pepe_^ Sony Reader 2 10-08-2007 09:39 AM


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


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