change to use tex files instead of markdown