seperate tex and knitr