Define and register a TeX engine for authoring, typesetting, and rendering LaTeX documents.
TeXengine(name,
version,
command,
isEngine,
fontFile,
glyphIndex,
options=NULL,
preamble="",
dviSuffix=".dvi")
registerEngine(engine)
TeXengine()
returns a "TeXengine"
object.
Character name for the engine.
A function with no arguments that returns the engine version as a character value.
The command used to typeset a latex document with this engine.
A function with one argument, a "DVI"
object,
that returns a logical indicating whether this engine was used to
generate that DVI output.
A function with one argument, a font description from a font definition opertaion in DVI output, that returns a path to the appropriate font file.
A function with one argument, a raw vector of bytes from a set char operation in DVI output, that returns an integer index of the appropriate glyph.
Any required options to command
to ensure that
the engine generates DVI output.
A preamble that is added during authoring of a complete
LaTeX document from a LaTeX snippet. See author
and
grid.latex
.
The file suffix used for DVI files that are generated by this engine.
A "TeXengine"
object, as generated by
TeXengine()
.
Paul Murrell
TeXengine()
can be used to create a typesetting engine for use
with, e.g., grid.latex
. Registering the engine via
registerEngine()
means that the engine can be specified by
name
.