Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


TeXCheckR (version 0.8.1)

inputs_of: Inputs to files nested within LaTeX document

Description

Inputs to files nested within LaTeX document

Usage

inputs_of(filename, exclude.preamble = TRUE, append.tex = TRUE)

Value

A character vector of file paths relative to filename that are used as \inputs or \includes within filename. If no such files are present within filename, NULL is returned.

Arguments

filename

The file whose \inputs are to be extracted.

exclude.preamble

(logical) If TRUE, the default, only \inputs and \includes within the document environment are returned.

append.tex

Should the result include the file extension .tex? By default, TRUE. Setting to FALSE may be useful when the file is not a .tex file.