pre_conversion_statistics {texor}R Documentation

pre conversion statistics

Description

count common environments,inlines for debugging purposes

Usage

pre_conversion_statistics(article_dir, write_yaml = TRUE)

Arguments

article_dir

path to the directory which contains RJ article

write_yaml

write to a yaml file (default = TRUE)

Value

conversion stat block with details also a yaml file if param enabled.

Examples

article_dir <- system.file("examples/article",
                 package = "texor")
dir.create(your_article_folder <- file.path(tempdir(), "tempdir"))
x <- file.copy(from = article_dir, to = your_article_folder,recursive = TRUE,)
your_article_path <- paste(your_article_folder,"article",sep="/")
texor::patch_code_env(your_article_path)
texor::patch_table_env(your_article_path)
texor::patch_equations(your_article_path)
texor::patch_figure_env(your_article_path)
texor::pre_conversion_statistics(your_article_path,write_yaml = FALSE)
unlink(your_article_folder,recursive = TRUE)

[Package texor version 1.3.0 Index]