Workflow which generates a latex document using the knitr environment in RSTudio.