The first edition of C # in Depth was written in Word and stored in Subversion without any problems - and Word has a reasonable built-in diff that Subversion will use so that you can compare versions. It's not so fun to merge the changes, though, but it works great if you're the only author. (The first Groovy edition of Action was also done using Word / Subversion, but we removed the locks to prevent simultaneous editing.)
The second edition is written in a subset of DocBook , which so far works well. Using the XMLmind XML Editor I can see how it will look when I go, and I have a PDF generator to get a more accurate look.
, TeX - , LaTeX, . " " , .
: , . , , , . , ( - urgh), . , , .