If a mlx file has been edited, in math4econ for example, check it against git and convert to tex and pdf using command line matlab. Then the function wraps ff_sup_clean_rmd
ff_sup_clean_mlx(
st_prj_root,
ar_spt_root,
ar_spn_skip,
st_pattern = ".mlx",
st_folder_pdf = "htmlpdfm/",
st_folder_html = "htmlpdfm/",
st_folder_m = "htmlpdfm/",
st_folder_html_m = "",
st_folder_rmd = "",
bl_gen_if_git_old = FALSE,
bl_recursive = TRUE,
bl_verbose = TRUE,
bl_test = TRUE,
it_hierachy_shift = 2,
it_toc_depth = 3,
st_conda_env = "wk_pyfan"
)
string project root for image folder movement
array a string array of path roots in which to search for Rmd files to knit
array a string array of names, if path found contains any of the string
string search pattern suffix in the array, will skip.
string subfolder where to store the pdf file, if just empty, store in rmd folder
string subfolder where to store the html file, if just empty, store in rmd folder
boolean if true then even if RMD files do not have git status change, still update pdf and html files.
boolean if to search in folders recursively
boolean if testing, meaning do not generate pdf html, just see which files are been
rmd modification level of promotion from bookdown hierachy to own file hierarchy
rmd own file outputs toc levels to show considered included, searched and found
string variable of conda env name
string subfolder where to store the R file, if just empty, store in rmd folder
a list of string paths of files generated
ls_spt_pdf_generated - a list of pdf file names
ls_spt_html_generated - a list of html file names
ls_spt_R_generated - a list of R file names generated
#'