Learn R Programming

xdvir (version 0.1-2)

readDVI: Read DVI File

Description

Read a DVI file (produced by LaTeX) into R.

Usage

readDVI(file)

Value

A "DVI" object.

There is a print method that produces a nice human-readable format.

Arguments

file

A character value giving the name of a DVI file.

Author

Paul Murrell

Details

A "DVI" object is a list of memory blocks (as produced by functions from the hexView package), with one block per DVI operation.

This is the detailed, byte-level contents of the DVI file.

Examples

Run this code
readDVI(system.file("DVI", "test-pdftex.dvi", package="xdvir"))
readDVI(system.file("DVI", "test-luatex.dvi", package="xdvir"))
readDVI(system.file("DVI", "test-xetex.xdv", package="xdvir"))
readDVI(system.file("DVI", "test-uptex.dvi", package="xdvir"))

Run the code above in your browser using DataLab