Skip to contents

Pre-Processing Articles

Functions using Regular Expressions and Stream Editor to pre-process LaTeX files

stream_editor()
stream editor
patch_code_env()
patch all code environments
patch_equations()
patch equations
patch_figure_env()
patch figure environments
patch_table_env()
patch table environment

Conversion

Functions to convert articles from one form or the other

convert_to_markdown()
convert LaTeX wrapper to markdown
convert_to_native()
convert LaTeX wrapper to native pandoc AST
generate_rmd()
Modify Markdown to R-markdown
produce_html()
call rmarkdown::render to generate html file
latex_to_web()
latex to web

Graphics

Methods to work with Figures

convert_to_png()
convert one single pdf file to png
handle_figures()
handle figures
article_has_tikz()
Check if article has tikz images or not

Logger

Methods to work with Logging using Logger package

log_setup()
texor log setup
texor_log()
log messages for various categories

Utility

Utility and Stat tools for various tasks

create_article()
Create an R Journal article with a modified template for texor.
check_markdown_file()
check markdown file
copy_other_files()
Copy Supporting Documents like images,bib file,etc.
count_env()
count latex environments
count_inline()
count inline elements
get_journal_details()
get Journal details
get_md_file_name()
get markdown file name
get_texfile_name()
Get the name of the tex file included within wrapper file
get_wrapper_type()
Get the name of the wrapper file in the article dir
find_wrapper()
find wrapper file
include_style_file()
Include Style file
pandoc_version_check()
check texor pandoc compatibility
pre_conversion_statistics()
pre conversion statistics