LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.
Twine is an open-source tool for telling interactive, nonlinear narratives and stories. It can also incorporate multimedia elements like images, sounds, and videos.
Wordpress is free and open source software that can be used tocreate robust, multi-user sites. Although the software is free to use, there are paid hosting plans available. It can also be hosted on your own local or remote web server.