added latex and summary support