Browse our Products

<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-tex</artifactId>
<version>24.10</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-tex', version: '24.10')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-tex" rev="24.10">
 <artifact name="aspose-tex" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-tex" % "24.10"
copied!  

Java API to TypeSet TeX Files

main-banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Aspose.TeX for Java is a library that provides a TeX engine extension called ObjectTeX. It can be used to typeset documents described by TeX files. Object means that intermediarytypesetting result is a specific object model which then can be uniformly converted into a number of end formats.

TypeSetting File Processing Features

  • Typesetting of TeX files
  • Create custom TeX formats
  • Provide input data in various ways
  • Fetch output data in various ways

Supported Input Formats

TeX

Save TeX As

XPS, PDF, JPEG, PNG, TIFF and BMP

Supported Embedded Fonts for Typesetting

cmbsy10, cmbx10, cmbx5, cmbx6, cmbx7, cmbx8, cmbx9, cmcsc10, cmdunh10, cmex10, cmmi10, cmmi5, cmmi6, cmm7, cmmi8, cmmi9, cmmib10, cmr10, cmr5, cmr6, cmr7, cmr8, cmr9, cmsl10, cmsl8, cmsl9, cmsltt10, cmss10, cmssbx10, cmssi10, cmssq8, cmssqi8, cmsy10, cmsy5, cmsy6, cmsy7, cmsy8, cmsy9, cmti10, cmti7, cmti8, cmti9, cmtt10, cmtt8, cmtt9, cmu10

Supported Platforms

You can use Aspose.TeX for Java to build any type of Java application for Windows (32-bit or 64-bit) Linux, and macOS. Aspose.TeX for Java supports the J2SE 8.0 (1.8) or above (for example Java 10).

Use Java to Create a Custom TeX Format

// Create typesetting options for no format on ObjectTeX engine extension.
TeXOptions options = TeXOptions.consoleAppOptions(TeXConfig.objectIniTeX());
// Specify a file system working directory for input.
options.setInputWorkingDirectory(new InputFileSystemDirectory(Utils.getInputDirectory()));
// Specify a file system working directory for output.
options.setOutputWorkingDirectory(new OutputFileSystemDirectory(Utils.getOutputDirectory()));

// Run format creation.
TeX.createFormat("customtex", options);

// For further output to look write.
options.getTerminalOut().getWriter().newLine();

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

VersionRelease Date
24.10October 30, 2024
24.9September 10, 2024
24.8August 8, 2024
24.7July 2, 2024
24.5May 24, 2024
24.3March 8, 2024
24.2February 16, 2024
23.12December 14, 2023
23.11November 29, 2023
23.10October 24, 2023
23.8August 14, 2023
23.6June 21, 2023
23.5April 30, 2023
23.4April 7, 2023
23.2February 21, 2023
22.12December 19, 2022
22.11November 16, 2022
22.10October 13, 2022
22.8August 25, 2022
22.6June 16, 2022
22.4April 5, 2022
22.3March 25, 2022
22.2February 8, 2022
21.11November 11, 2021
21.9September 20, 2021
21.8August 26, 2021
21.4April 8, 2021