Switched to latexmk to automatically call latex required number of times