Thorsten writes about the tools he used to write two books; spoiler: a text editor features prominently, custom tools do not.
Now I have written two books and zero tools, which I consider a success.
I’ve definitely let my desire to “keep it DRY” interfere with this while attempting to update Effective Django; Sphinx’s
literalinclude has a pyobject option, which I’ve taken more than one stab at extending to show “book-style” diffs. (Not dwelling on the fact that – for Effective Django, at least – I’d also need to write the equivalent for at least HTML.)
Perhaps unsurprisingly, for Thorsten it comes down to writing.