Hello,

troff.org maintains a nice list of UNIX/networking books typed in troff:

https://troff.org/pubs.html#advctt
https://troff.org/books.html#strong

There’s one book that’s been released out of the publisher’s copyright, transcribed, and the source is available:

https://github.com/larrykollar/Unix-Text-Processing

Are there any other other long text/books that have the source code available?

The only thing that I can think or are the manuals present in source trees of the current BSD systems.

Thanks,

Adam