Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-16-2010, 07:49 AM   #1
hpep
Junior Member
hpep began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: kindle
header removal fails, even though test identifies the pattern

Hi

Does anyone know which format the header removal (regular expression) acts on?
The input format, the internal format(xpath) or the external format?

I'm trying to remove some repetitive text from a file, input is pdf and output is mobi.
When I go to the 'structure detection' -> Header regular expression.
I use the wizard to identify the pattern, and when using test the text is highlighted. I Ok the expression. And run the conversion.
But the mobi output format still has the text.
Any idea of what the discrepancy is?
Any idea of what I could do to ensure that it is the correct expression I use to identify the text?

Thanks
hpep is offline   Reply With Quote
Old 08-09-2010, 12:30 PM   #2
bowsprit
Junior Member
bowsprit began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2010
Device: kindle2
me too!

just bumping up this question because I have the same concern/problem. Thanks.
bowsprit is offline   Reply With Quote
Advert
Old 08-09-2010, 12:40 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
It has been mentioned a number of times that the Wizard does not always correctly display the text for matching the RegEx against. The only completely reliable way is to run a conversion in Debug mode so that you can look at the intermediate HTML files.
itimpi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
regex request for specific header removal cellocgw Calibre 2 04-15-2010 02:42 PM
Header/Footer removal Solicitous Calibre 2 03-30-2010 05:53 AM
Literary Pattern Matching kennyc News 5 12-16-2009 03:12 PM
Kindle 2 Fails Man's Drop Test, Forces Amazon To Pay Him $400 anurag News 23 10-22-2009 01:23 PM
How do I specify TOC pattern? PaulChernoch Calibre 5 10-10-2009 01:18 AM


All times are GMT -4. The time now is 08:44 PM.


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