Comment Re:Publishers provide this information (Score 1) 325
O'Reilly use a variant of the docbook XML schema. If you write in docbook XML, they can take that and publish it directly, least cost, least editorial errors. Provides all the functionality you mention, many media output formats.
Pick an editor you like (emacs does it for me) and you can keep it valid and process it yourself.
Works like a charm.