Learn R Programming

texor (version 1.5.6)

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

542

Version

1.5.6

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Abhishek Ulayil

Last Published

April 1st, 2025

Functions in texor (1.5.6)

patch_figure_env

patch figure environments
patch_table_env

patch table environment
texor_log

log messages for various categories
stream_editor

stream editor
pre_conversion_statistics

pre conversion statistics
produce_html

call rmarkdown::render to generate html file
pandoc_version_check

check texor pandoc compatibility
rnw_generate_rmd

Modify Markdown from Sweave to R-markdown
rnw_to_rmd

Sweave to RMarkdown
patch_code_env

patch all code environments
patch_equations

patch equations
convert_to_markdown

convert LaTeX wrapper to markdown
check_markdown_file

check markdown file
article_has_tikz

Check if article has tikz images or not
copy_other_files

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

find wrapper file
count_inline

count inline elements
count_env

count latex environments
create_article

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

convert one single pdf file to png
generate_rmd

Modify Markdown to R-markdown
include_style_file

Include Style file
get_journal_details

get Journal details
get_wrapper_type

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

handle figures
get_texfile_name

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

get markdown file name
convert_to_native

convert LaTeX wrapper to native pandoc AST
log_setup

texor log setup
latex_to_web

latex to web