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.

closed as too broad by egreg, Joseph Wright Feb 6 '16 at 21:42

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    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. – Andra Oct 1 '13 at 10:54
  • 1
    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 '15 at 20:13

Browse other questions tagged or ask your own question.