Updating TeX regex and adding the ability to read in include graphics.