added more history. modified latex compile command to delete temporary files