Learn R Programming

⚠️There's a newer version (1.5.6) of this package.Take me there.

texor (version 1.5.0)

Converting 'LaTeX' 'R Journal' Articles into 'RJ-web-articles'

Description

Articles in the 'R Journal' were first authored in 'LaTeX', which performs admirably for 'PDF' files but is less than ideal for modern online interfaces. The 'texor' package does all the transitional chores and conversions necessary to move to the online versions.

Copy Link

Version

Install

install.packages('texor')

Monthly Downloads

634

Version

1.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Abhishek Ulayil

Last Published

October 15th, 2024

Functions in texor (1.5.0)

pandoc_version_check

check texor pandoc compatibility
get_wrapper_type

Get the name of the wrapper file in the article dir
patch_table_env

patch table environment
stream_editor

stream editor
patch_figure_env

patch figure environments
texor_log

log messages for various categories
handle_figures

handle figures
patch_code_env

patch all code environments
rnw_generate_rmd

Modify Markdown from Sweave to R-markdown
rnw_to_rmd

Sweave to RMarkdown
patch_equations

patch equations
get_journal_details

get Journal details
produce_html

call rmarkdown::render to generate html file
get_texfile_name

Get the name of the tex file included within wrapper file
pre_conversion_statistics

pre conversion statistics
check_markdown_file

check markdown file
convert_to_native

convert LaTeX wrapper to native pandoc AST
create_article

Create an R Journal article with a modified template for texor.
article_has_tikz

Check if article has tikz images or not
find_wrapper

find wrapper file
copy_other_files

Copy Supporting Documents like images,bib file,etc.
convert_to_png

convert one single pdf file to png
count_inline

count inline elements
count_env

count latex environments
convert_to_markdown

convert LaTeX wrapper to markdown
include_style_file

Include Style file
log_setup

texor log setup
get_md_file_name

get markdown file name
generate_rmd

Modify Markdown to R-markdown
latex_to_web

latex to web