com.aspose.tex

Class TeXJob



  • public class TeXJob
    extends Object

    Implements features of a TeX job.

    • Constructor Detail

      • TeXJob

        public TeXJob(InputStream stream,
                      Device device,
                      TeXOptions options)

        Creates a TeX job for running the engine in production mode to typeset a TeX file.

        Parameters:
        stream - The stream containing the TeX file.
        device - The device defining output representation.
        options - TeX engine run options.
      • TeXJob

        public TeXJob(String path,
                      Device device,
                      TeXOptions options)

        Creates a TeX job for running the engine in production mode to typeset a TeX file.

        Parameters:
        path - The path to the TeX file.
        device - The device defining output representation.
        options - TeX engine run options.
      • TeXJob

        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.

        Parameters:
        device - The device defining output representation.
        options - TeX engine run options.
    • Method Detail

      • run

        public void run()

        Runs TeX job.

      • createFormat

        public static void createFormat(String path,
                                        TeXOptions options)

        Runs TeX engine in INITEX mode to create a format file (.fmt).

        Parameters:
        path - The path to the main format source file.
        options - TeX engine run options.