Lacuna Books is a web application designed specially for book authoring. It understands hierarchy of a book, cross references chapters, sections, and figures, and provides tools for maintaining assets and references.
Separation between presentation and content allows you to focus on your writing, not on the specifics of formatting and layout. When adding figures and citations, just provide data, and Lacuna Books will pull appropriate information and display it for you.