Textbook from compilation to distribution