| texi2dvi {tools} | R Documentation |
Compile LaTeX Files
Description
Run latex and bibtex until all cross-references are
resolved and create either a dvi or PDF file.
Usage
texi2dvi(file, pdf = FALSE, clean = FALSE, quiet = TRUE,
texi2dvi = getOption("texi2dvi"), texinputs = NULL)
Arguments
file |
character. Name of LaTeX source file. |
pdf |
logical. If |
clean |
logical. If |
quiet |
logical. No output unless an error occurs. Ignored if
emulation (see the |
texi2dvi |
character (or |
texinputs |
|
Details
Despite the name, this is used in R to compile LaTeX files,
specifically those generated from vignettes. It
ensures that the ‘R_HOME/share/texmf’ directory is
in the TEXINPUTS path, so R style files such as ‘Sweave’
and ‘Rd’ will be found. The search path used is first the
existing TEXINPUTS setting (or the current directory if unset),
then elements of texinputs, then
‘R_HOME/share/texmf’ and finally the default
path. Analogous changes are made to BIBINPUTS and
BSTINPUTSsettings.
Author(s)
Achim Zeileis and R-core