Compile a latex document and
1 | compileLatexDoc(filename, latexmode = "latex", intern = TRUE)
|
filename |
character string, name of latex document |
latexmode |
character string, should be either "latex" or "pdflatex" Both modes will give a pdf document at the end, but use "latex" if document has eps figures (tex -> dvi -> pdf) and use "pdflatex" if document has pdf figures (tex -> pdf) |
intern |
logical, passed to a system() command |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.