Thread: pdf2lrf
View Single Post
Old 07-30-2007, 04:56 PM   #1
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
pdf2lrf

Part of libprs500 v0.3.81. It extracts the text from PDF files and converts them to LRF. Preserves bold and italics. See attached demo.

It doesn't support embedded images and results are not going to be satisfactory for complex PDF files. But for converting simple novels, it works great.

Linux users: If you want support for PDF links then you need to install poppler from CVS.

To use:
Code:
pdf2lrf "mybook.pdf"
Enjoy.
Attached Files
File Type: pdf mansf10p.pdf (1.06 MB, 4072 views)
File Type: lrf mansf10p.lrf (633.4 KB, 2681 views)

Last edited by kovidgoyal; 07-30-2007 at 05:02 PM.
kovidgoyal is offline   Reply With Quote