We're beta-testing an online editor for technical documents, if you want to join we would be glad to have you (email/url in my profile).
If you'd prefer a more DIY solution, in addition to LaTeX you should also check out asciidoc, it seems to support a lot of what you're after.