View Single Post
Old 02-12-2011, 02:08 PM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by Manichean View Post
There's no single regex that can eliminate all headers and footers during conversion. If there were, it would be hardcoded somewhere instead of having the user writing the regex.
Calibre also has a handy, (and free!), tool for PDF cropping within the command line function PDFManipulate.

See the crop option in pdfmanipulate for more details and https://www.mobileread.com/forums/sho...d.php?t=103437 for an example of using it.
Agama is offline   Reply With Quote