Description Usage Arguments Details Author(s)
Executes a command to build a pdf file based on a .tex or .html file. For HTML files, compiles the figure into a subfolder and places all of the contents into a zip file
1 2 |
filename |
Character string giving the location of the file to be built. Usually a .tex or .html file. |
pdf.zip |
filename where the completed document should be saved. Usually a .pdf or .zip file. |
quiet |
Sets the system call flag for a quiet (non-verbose) run. |
clean |
Sets the system call for cleaning up the folder after completion.
If |
replace |
when |
... |
Additoinal arguments to be passed to |
For TEX files, a call is made using tools::texi2dvi
to
compile a PDF file.
For HTML files, the referenced figures are gathered, copied into a subdirectory and the HTML document and the figures are placed into a zip folder for convenient transfer. All of the image links in the HTML code are modified to reflect the new location. Lastly, a text file is added with instructions for unzipping the files for convenient viewing (but don't worry, no one ever reads this).
Benjamin Nutter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.