Fixed *.tex recognition