Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

HTML5 allows for great rendering. Crocodoc for example does a great conversion from PDF to HTML5. Is there any tool to convert LaTeX to HTML5? Does tex4ht support HTML5?

Here's an example of what Crocodoc achieves in HTML5, compared to the original PDF:

Crocodoc PDF to HTML5

and an example of a full document in HTML5.

share|improve this question

closed as off topic by lockstep, Alan Munn, egreg, Jake, ℝaphink Sep 4 '11 at 6:44

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Could you be a little more explicit in your question? What do you mean by "great rendering"? I know very little about HTML5 so I have no idea even what sort of thing you mean. When I look at the source of a sample "Crocodoc" document in FireBug then I don't see anything special. There's a lot of CSS controlling the word spacing and line protrusion so I'm not convinced that this is an example of "great conversion". –  Loop Space May 13 '11 at 9:28
2  
In particular, woe betide me if I don't like their choice of font! Changing the font really messes up the page. –  Loop Space May 13 '11 at 9:29
2  
I'm confused: if crocodoc converts PDF to HTML5, why are asking about converting .tex to HTML5? Can you not upload a regular latex-compiled PDF to crocodoc? –  Matthew Leingang May 13 '11 at 9:33
4  
I checked the source code of the provided Crocodoc example and IMHO it's not a HTML5 document, as the doctype explicitly shows XHTML 1.0 Transitional. Besides, I didn't see any new HTML5 tags in the document, just a lot of Javascript and CSS codes (the page contains several errors as well). Probably this is a little confusion with a rich web page (very well designed and rendered, I give you that), but it isn't HTML5 per se. I believe you can achieve something similar with tex4ht, jQuery plugins and CSS. –  Paulo Cereda May 13 '11 at 11:00
1  
The text on the website is misleading. They convert PDFs to HTML and you can visualize them on an HTML5 viwer. That’s why it’s ‘High fidelity HTML5 document rendering'. –  rberaldo May 13 '11 at 12:03
show 12 more comments

Browse other questions tagged or ask your own question.