Description Usage Arguments Value Examples
This function will first check for the flavor of latex, type of OS and then use the proper command for pdflatex compilation
1 2 | rte.compile.latex(f.in, pdf.dir.out = "PdfOut", do.clean.up = T,
latex.compile.fct = "texi2pdf")
|
f.in |
The location and name of latex file |
pdf.dir.out |
The name of the folder for the output pdf |
do.clean.up |
Clean (delete) auxiliary latex files? (TRUE or NOT) |
latex.compile.fct |
Option for function compiling pdf ('texi2pdf' or 'custom') |
A flag, TRUE if the latex compilation was a sucess and FALSE if not
1 2 3 4 5 | f.in <- system.file("extdata", "MyRandomTest_examdesign.tex", package = "RndTexExams")
pdf.dir.out <- 'PdfOut'
rte.compile.latex(f.in = f.in,
pdf.dir.out = pdf.dir.out,latex.compile.fct = 'custom')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.