Creating the metrics xml files:

Add the tex files created as input into your latex document. Enjoy!!