Learn R Programming

TexExamRandomizer (version 1.2.7)

compile_latex_directory: Compile LatexDirectory

Description

Internal function wrapping the options to compile a directory holding some text files into pdf files.

Usage

compile_latex_directory(
  options = list(),
  input_directory,
  output_directory = input_directory,
  main_directory
)

Value

No return value

Arguments

options

See details

input_directory

Input directory where the tex files are found

output_directory

Output directory where the pdf files will be placed

main_directory

Directory we will compile from

Details

`options` is a list containing the possible options. The possible options are

  • compile: Should it compile the tex files

  • debug: Should we use debugging information. Otherwise, it will clean up the temporary files created by latex.

  • xelatex: Should it use the xelatex engine

The options can be defined directly given by using the other parameters to this function. (Note that those paramenters have precedence)