copy_file_config_ini_new: Copy Configuration File from Outline in Working Directory

Description Usage Arguments Details Value See Also Examples

View source: R/copy_file_config_ini_new.R

Description

Copy configuration file from outline in working directory to search for additional terms in our R Markdown or LaTeX project.

Usage

1
copy_file_config_ini_new(path_to = NULL, overwritefile = TRUE)

Arguments

path_to

path where the configuration file will be copied

overwritefile

logical variable; if TRUE will overwrite the file if it already exists

Details

The name of the configuration file is "addinsOutline_ini.txt".

In the configuration file you can use regular expressions with the help of the functions of the "stringr" package, to perform additional custom searches.

Make a copy of this file to see how new searches are defined.

The following strings serve to distinguish which types of files will be used:

- "rmd": R Markdown files

- "rmdbd": Bookdown files

- "tex": LaTeX files

Value

Copy configuration file from outline in working directory

See Also

The function run_addinsOutline_Rmd(), run_addinsOutline_Rmd_bookdown() and run_addinsOutline_tex().

Examples

1
2
3
4
if (interactive()) {
   library(addinsOutline)
   copy_file_config_ini_new()
}

addinsOutline documentation built on Dec. 2, 2019, 5:10 p.m.