Add envir as a parameter to knit2pdf
Merge pull request #490 from viking/knit2pdf-envir

Add envir as parameter to knit2pdf