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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

put on hold as too broad by egreg, Joseph Wright Feb 6 at 21:42

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.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. – Nonsense 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.