Tubaina is a textbook generator that uses a simple syntax and outputs either HTML or LaTeX documents.