How a tree becomes paper