On Thu, Jun 5, 2014 at 2:21 AM, Ori Idan <
o...@heliconbooks.com> wrote:
> As for PDF, It can be supported only if you have an engine that can
> convert the PDF to HTML, I am not aware of such library that is open
> source. I'd be happy to hear about one.
Both Poppler [1] and Xpdf [2] provide a pdftohtml utility. I haven't
played with either; I don't expect that they are particularly high
fidelity.
If you want better rendering, perhaps you should check out PDF.js [3].
It's the engine behind Firefox's PDF viewer, and it's pure javascript.
Robert
[1]
http://poppler.freedesktop.org/
[2]
http://www.foolabs.com/xpdf/home.html
[3]
http://mozilla.github.io/pdf.js/