Thread: Remove Footer
View Single Post
Old 10-14-2009, 03:44 AM   #1
cdecaf
Junior Member
cdecaf began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2009
Device: prs 505
Remove Footer

Hi,

I have been thinkering about this now for two days and couldn't find a clue.

My problem is I want to convert a bought pdf to epub (so sorry no sample - but I try to find one). The page numbers of the pdf show up just somewhere in between the text so I want them gone.

In the regex window (the one that does come up after clicking the magic wand next to "remove footer") the page numbers show up as
Code:
45 </p><p>
so I try
Code:
\d+ *</p><p>
Code:
[0-9]+ *</p><p>
and
Code:
\d+ *\<\/p\>\<p\>
all of these mark the correct regions in the window - but none of these show an effect in the produced epub.

Just as test I tried
Code:
\d+
- and yes it removes ALL numbers from the converted text.

Also I tried
Code:
ebook-convert book.pdf .epub --debug-pipeline
but it seems the option is no longer possible - all I get is the help for ebook-convert

So does anybody have an idea what I could try?
Thanks.

btw. I'm using calibre 0.6.17 on OSX Snow Leopard.
cdecaf is offline   Reply With Quote