Sign up ×
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.

W3C specifications follow a very nice template (example: HTML-RDFa). The specifications are HTML documents styled by a javascript library ReSpec. Is it possible to write specifications in LaTeX following the same guidelines, but by using native LaTeX commands?

I am currently writing specifications in LaTeX, which eventually will be published as HTML with the ReSpec js library. ALthough it would be extremely convenient, it is not necessary to be able to convert the latex file into HTML and JS code later. I only want to follow the same style as the W3C specs in my current LaTeX document, while they are being drafted in LaTeX.

I guess I have to write the style file myself, but I am hoping it has been done before so I don't have to start from scratch.

share|improve this question
Could your give a bit more detail here: I'm not sure quite what is needed. For example, are you expecting to read HTML or XML and typeset it, have a LaTeX input format, ...? – Joseph Wright Oct 1 '13 at 10:36
@JosephWright I added some detail, hoping that that clarifies it a bit. – Nonsense Oct 1 '13 at 10:54
The W3C MathML recommendation pdf version is typeset by LaTeX but I don't really keep to the same style. For MathML2 also has a screen formatted pdf which was closer to the HTML style, and again set with LaTeX but we dropped that at MathML3. – David Carlisle Oct 1 '13 at 11:12
If you are not authoring in HTML why use respec? why not just generate the final html directly from your latex sources? – David Carlisle Oct 1 '13 at 11:14
@DavidCarlisle I don't understand the question. – Johannes_B Mar 3 at 20:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.