Learn R Programming

patchDVI

The main goal of patchDVI is to support previewer forward and reverse search between Sweave, knitr or R Markdown source and .dvi, .pdf or .html output.

It also contains project management functions, to make it more convenient to build large documents from multiple source files, and supports editing of Sweave, knitr or R Markdown source in TeXworks, TeXShop and other editors.

This project was originally hosted on R-forge; see

https://r-forge.r-project.org/projects/sweavesearch/

for older versions.

Installation

This version of patchDVI optionally makes use of RmdConcord, a package to support concordances in R Markdown documents. You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("dmurdoch/patchDVI", dependencies = TRUE)

The CRAN version is installed with

install.packages("patchDVI", dependencies = TRUE)

Usage

See the patchDVI vignette for usage details.

Copy Link

Version

Install

install.packages('patchDVI')

Monthly Downloads

333

Version

1.11.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 21st, 2024

Functions in patchDVI (1.11.3)

patchLog

Patch a LaTeX log file.
defSconcordance

Support for non-Sweave concordances.
needsPackages

Check for and optionally install packages used by document.
pdf_documentC

R Markdown driver to add concordance
knitInRStudio

Trigger processing of chapter files from RStudio.
pdf_with_patches

Convert an R Markdown pdf driver to one that handles concordances.
patchDVI

patch Sweave source references into .dvi file
knitPDF

Knit a File and Patch
renderPDF

Render R Markdown and Patch
readDVI

Demo function to read a .dvi file
SweaveAll

Apply Sweave to a collection of files.
DVIspecials

Get and set DVI specials
SweaveMiktex

Run Sweave and Patch