Adding latex diagrams (5.2 version)