Learn R Programming

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

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

188

Version

1.11.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Duncan Murdoch

Last Published

March 14th, 2023

Functions in patchDVI (1.11.0)

SweaveAll

Apply Sweave to a collection of files.
patchDVI

patch Sweave source references into .dvi file
pdf_with_patches

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

Demo function to read a .dvi file
renderPDF

Render R Markdown and Patch
DVIspecials

Get and set DVI specials
defSconcordance

Support for non-Sweave concordances.
pdf_documentC

R Markdown driver to add concordance
needsPackages

Check for and optionally install packages used by document.
knitInRStudio

Trigger processing of chapter files from RStudio.
knitPDF

Knit a File and Patch
patchLog

Patch a LaTeX log file.
SweaveMiktex

Run Sweave and Patch