TeXCheckR (version 0.6.0)

split_report: Split report into include-able files

Description

Split report into include-able files

Usage

split_report(Report.tex, include = TRUE, subdir = "tex",
  use.chapter.title = TRUE, out.tex = Report.tex)

Arguments

Report.tex

File to split.

include

Should \include or \input be used? If TRUE, the default, \include is used.

subdir

What directory should each chapter file be written in? By default, a subdirectory of the folder containing Report.tex, called tex, is used.

use.chapter.title

Should the chapter title be used to name the chapter files? If TRUE, the default, the title is used (with characters outside [a-zA-Z0-9] replaced by spaces), prefixed by the chapter number; otherwise, just the chapter number is used.

out.tex

The new root file. By default, same as Report.tex.