3 ms·
PDF is a container for several kinds of content ranging from images to simple text. There's no simple direct way of converting arbitrary content to "good" HTML,
by brudgers 11y ago
PDF is a container for several kinds of content ranging from images to simple text. There's no simple direct way of converting arbitrary content to "good" HTML, for example PDF text might be a scanned image not a string of characters. Even a string of characters might contain typographic ligatures and a page of text contain page numbers at the bottom and chapter/section labels at the top and hyphens to break words across lines.
It's probably best to determine how to handle a specific text or group of texts and then do custom conversion.
Good luck.