catDocument: Output with listed documents

View source: R/additionalFunctions.R

catDocumentR Documentation

Output with listed documents

Description

Behaves like cat, but it first automatically unlists the exam to print the document.

Since the document is kept as a tree of lists, it simply abstract the idea of outputting the document. with one document.

Usage

catDocument(FullDocument, sep = "\n", ...)

Arguments

FullDocument

Document as structure by StructureDocument

sep

The separation character(s) between each line.

...

all extra arguments get passed along to the command "cat"

Examples

catDocument(TexExamRandomizer::testdoc)



alexrecuenco/TexExamRandomizer documentation built on Jan. 31, 2024, 9:29 p.m.