print.ascii {ascii}R Documentation

Print ascii object

Description

Function displaying the AsciiDoc or txt2tags code associated with the supplied object of class ascii.

Usage

print.ascii(x, type = getOption("asciiType"), ...)

Arguments

x An object of class "ascii"
type Type of syntax produce. Possible values for type are "asciidoc" or "t2t". Default value produce AsciiDoc syntax.
... Additional arguments. (Currently ignored.)

Details

The package provides the new global option asciiType. Default value is "asciidoc" (see examples).

Author(s)

David Hajage dhajage@gmail.com

See Also

ascii

Examples

data(esoph)
ascii(esoph[1:10,])
print(ascii(esoph[1:10,]), type = "t2t")
print(ascii(esoph[1:10,]), type = "textile")
options(asciiType = "t2t")
ascii(esoph[1:10,])
options(asciiType = "asciidoc")

[Package ascii version 0.1.3 Index]