Can anyone recommend an equally good opposite (HTML to PDF)? wkhtmltopdf [0] is probably the most popular, but it's also ridiculously buggy. 0: https://code.google.com/p/wkhtmltopdf/
Pdf2htmlEX – Convert PDF to HTML without losing text or format
41–50 of 51 posts
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#42Can anyone recommend an equally good opposite (HTML to PDF)? wkhtmltopdf [0] is probably the most popular, but it's also ridiculously buggy. 0: https://code.google.com/p/wkhtmltopdf/
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#43I've actually been using this to convert large PDF files to HTML to be displayed in-browser. It's for my work, so I don't feel comfortable posting a link to the demo instance here. It is definitely the best solution I've found so far. The outputted HTML / CSS / images look almost identical to the source PDF. That being said, there are a few issues still: * One Gigantic (600kb) CSS file from a single PDF * Hundreds of…
Hey thanks for the info! 2nd & 3rd are in the future plan, as I'm still working on accuracy and speed. And #115( https://github.com/coolwanglu/pdf2htmlEX/issues/115 ) is about the 2nd issue. About the first one, I've not got an elegant solution yet, maybe a CSS file per page? Please file new issues at GitHub if you think it's necessary :)
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#44Earlier quoted context omitted.
I heard that with careful optimization on the server side and a clever JS may solve this. So far the default UI just demostrates the ability of reading-while-downloading. The idea is that now the document becomes more controllable and accessible, say you can put Google Analytics in your resume written in LaTeX; or maybe an social reading service, where you can comment, annotate and share. Unlike PDF viewers, web brow…
Off topic, but is your username missing a "ke"?
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#45Interesting. So it converts all vector graphics to a background image per page, but keeps all text as browser-rendered on top of it. I guess I don't really see much practical purpose for it -- most browsers these days seem perfectly fine opening PDF files natively, after all. But it's a very cool technological demonstration. Maybe this could be some kind of bridge tool for generating sites with fancy typographical la…
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#46Earlier quoted context omitted.
Off topic, but is your username missing a "ke"?
um? why?
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#47I've actually been using this to convert large PDF files to HTML to be displayed in-browser. It's for my work, so I don't feel comfortable posting a link to the demo instance here. It is definitely the best solution I've found so far. The outputted HTML / CSS / images look almost identical to the source PDF. That being said, there are a few issues still: * One Gigantic (600kb) CSS file from a single PDF * Hundreds of…
These are all relatively easy to fix, I believe. "
How? For example, how would you identify 's (or whatever this converter uses) to identify headers, and page headers/footers, or a ToC, or a preface? IMO this is an AI-hard problem, for which even the 'simple' approximation (statistics) is very hard due to the wide variety in inputs (a corpus trained for multi-column journal articles will most likely not work at all for books, although I haven't tried and would love to be proven wrong).
Use case: a working (i.e., preserving semantics) pdf-to-epub converter. This would, imho, be a killer product / service.
Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#48Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#49Re: Pdf2htmlEX – Convert PDF to HTML without losing text or format
#50I didn't see any mention of tables in the doc. Does this means it's outside of the "good enough" range? Table extraction would be a great feature.