public class TeXJob extends Object
Implements features of a TeX job.
Constructor and Description |
---|
TeXJob(Device device,
TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file.
|
TeXJob(InputStream stream,
Device device,
TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file.
|
TeXJob(String path,
Device device,
TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file.
|
Modifier and Type | Method and Description |
---|---|
static void |
createFormat(String path,
TeXOptions options)
Runs TeX engine in INITEX mode to create a format file (.fmt).
|
void |
run()
Runs TeX job.
|
public TeXJob(InputStream stream, Device device, TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file.
stream
- The stream containing the TeX file.device
- The device defining output representation.options
- TeX engine run options.public TeXJob(String path, Device device, TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file.
path
- The path to the TeX file.device
- The device defining output representation.options
- TeX engine run options.public TeXJob(Device device, TeXOptions options)
Creates a TeX job for running the engine in production mode to typeset a TeX file. The engine will prompt the file name as soon as it starts. Thus this run is supposed to be interactive.
device
- The device defining output representation.options
- TeX engine run options.public void run()
Runs TeX job.
public static void createFormat(String path, TeXOptions options)
Runs TeX engine in INITEX mode to create a format file (.fmt).
path
- The path to the main format source file.options
- TeX engine run options.