1 | initial version |
Alternative : have a look at PreTeXT, recently presented at the latest Sage Days. I haven't explored this, but the presentation was impressive.
One caveat : it seems that you'll have to pound your document in XML somehow...
HTH,