Helper script to compose academic documents