regenerating .tex example