PDF Miner
pypi.python.org
pypi.python.org
Chicago is running for the 2016 Olympic games. About a month ago they released their official "bid book" in PDF form. The local papers gave it a look and wrote some fine stories, but a bunch of local journalists (myself among them) would like to extract the thing out into a Wiki so people could discuss and annotate it instead of just reading it in PDF form.
Link to the bid book: http://www.chicago2016.org/our-plan/bid-book/bid-book.aspx
We were thinking of using MediaWiki as the wiki engine. One of us is currently running (the excellent) Chicago Elections Wiki over at http://chicagoelections.pbwiki.com/
We'd host, promote, annotate and fill out the wiki, the important thing is to move this from a pdf to an interactive, scannable, hypertext format so people can tear it apart.
We'd been talking about sneaking into PyCon and asking around if anyone there would be interested in working on this. It looks like this PDF miner is the start of something that could do this.
There's an open government hackathon this week at PyCon here in Chicago and it looks like at least three of the proposed ideas are PDF-to-Text apps.
I love technological solutions, don't get me wrong, but we're talking about under 200ish pages, most having copy/pastetable text on them. Set up your Wiki and then head over to one of the freelancer sites, and you'll be done in under a few hundred bucks.
Definitely go for it. I doubt the sprints will take any sneaking to get into. Go find the open government guys sprinting Monday/Tuesday, and I bet you could peel someone off to work on this.
It's quite good, though as it is written in pure Python, it's rather slow (especially compared to command line tools written in C/C++).
I strongly recommend using Psyco [1]. Adding few lines of code cut my PDF->HTML conversion times by half.
Also, be warned that markup it produces can be very heavy. Depending on how PDF is structured, you can finish with huge amount of DOM elements.
-----
I managed to get away just with using command line PDF->TXT tool that came with Xpdf [1].
Also MuPDF is awesome [2]. Its bare bones demo PDF viewer replaced Foxit as my default PDF handler.
If you have some more serious budget, there is also PDFlib TET [3], a nice commercial solution with bindings for many languages (C, C++, Python, Ruby, Perl, .NET, and many others).
-----
autocmd BufReadPre *.pdf set ro
autocmd BufReadPost *.pdf silent %!pdftotext "%" -Technology moves forward, I see.