EClass

I can’t quite get EClass to work. It looks rather promising, though.
Do you know of anything similar? I’d like to be able to write and
publish my courseware with a neat interface for browsers – collapsible
tables of contents, that sort of thing.