DVIspecials: Get and set DVI specials

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/patchDVI.R

Description

These functions get and set the \specials values in .dvi files.

Usage

1
2
DVIspecials(f)
setDVIspecials(f, newspecials, newname=f)

Arguments

f

character filename of .dvi file to patch

newspecials

character vector of new specials to put into the file

newname

the name of the file to write

Details

If an entry of the newspecials vector is NA, that special is removed.

Value

DVIspecials returns all the specials from the file in a character vector.

setDVIspecials is called for the side effect of patching the .dvi file; it returns NULL invisibly.

Author(s)

Duncan Murdoch

See Also

patchDVI

Examples

1
2
3
4
5
6
## Not run: 
x <- DVIspecials("test.dvi")
x[1] <- "new value"
setDVIspecials("test.dvi", x)

## End(Not run)

patchDVI documentation built on May 5, 2020, 3 p.m.