Actually, it is not trivial to programmatically extract plain text from a PDF in a consistent format.  In many cases it is easy, but the PDF format is visual first and content second, resulting in plenty of opportunities for Captcha-like problems.<p>Despite that, PDF, especially PDF-A, is the superior format for preserving published content.