Now handles multiple options whis .tex files as well