pdftotext and pdftohtml are shipped with poppler, the de-facto PDF implementation on Linux systems today.
* I did a sizeable data mining project a while ago which required converting a lot of scientific papers to plain text. pdftotext didn't work well on a lot of them, so I had a script sending click events to Adobe Reader running overnight.