A book is a big task. I do have experience in writing some manuals or documentation. Does that count?
I mostly does it in latex.
It takes a while before you get the hang of it.
You don't have to put everything in one document file. Best to break it into smaller pieces. When you are ready to publish, then you can then add it all together in one file. This is the key. How you achieve that, is up to you.
You need to read and edit it constantly. Print it and then edit it using pen or pencil. Refine it. So whatever method you use, it should be easy and accessible. Just like this blog (Blogger).
It is not that easy but its achievable because latex in essence is text you can edit.
Take note of the numbering. I think lawyers make good writers. They write all day. Their organisation of data and facts, presentation and especially their numbering are impressive.