# inputs_of: Inputs to files nested within LaTeX document In TeXCheckR: Parses LaTeX Documents for Errors

## Description

Inputs to files nested within LaTeX document

## Usage

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

## Arguments

 `filename` The file whose `\inputs` are to be extracted. `exclude.preamble` (logical) If `TRUE`, the default, only `\input`s and `\include`s 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.

## Value

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

TeXCheckR documentation built on Nov. 17, 2020, 9:08 a.m.