TeX is not just a programming language; it's a dynamic data markup language that revolutionizes the world of typesetting. It seamlessly combines the roles of a programming language, an interpreter engine, and a comprehensive typesetting system, all in one. TeX is the go-to tool for crafting mathematical and technical texts with precision and finesse.
Built on the foundation of TeX, numerous packages have emerged to enhance its capabilities, with LaTeX standing out as the most renowned. LaTeX empowers authors to concentrate on their content, leaving the intricate nuances of typography to the program. With LaTeX, creating and managing structured documents has never been more effortless.
Unlock the true potential of typesetting with Aspose.TeX for Java, a versatile and user-friendly library that redefines the way you work with TeX and LaTeX files.
Why Choose Aspose.TeX for Java?
🚀 Flexible Typesetting: With Aspose.TeX for Java, typesetting becomes a breeze. Whether you're dealing with TeX or LaTeX files, our library offers unparalleled flexibility.
🌟 Multiple Output Formats: Our API supports multiple output formats, including XPS, PDF, PNG, JPEG, TIFF, SVG, and BMP. This means you can convert TeX and LaTeX files to your desired output format easily.
🎨 Customize Your TeX Format: Take control of your document design by creating custom TeX formats. With our solution, you can maintain a consistent and uniform look across multiple documents.
Experience the future of typesetting with Aspose.TeX for Java. Simplify your document creation and typesetting to new heights – it's all within your reach! Discover the limitless possibilities of typesetting today by getting a free trial or buying the solution!
At a Glance
An overview of the Aspose.TeX for Java API.
- Support Multiple Formats
- Load TeX source files from disk
- Load TeX source files from a ZIP-archive
- Load TeX source files from your own implementation of Working directory
- Typeset TeX files
- Get output documents in different formats like XPS, PDF, PNG, JPEG, TIFF, BMP, SVG
- Write output document to a stream
- Write output to disk
- Write output to a ZIP-archive
- Write output to your own implementation of Working directory
- Create your own TeX format if you want to create a set of documents in a consistent manner
Aspose.TeX for Java supports all major platforms including:
- J2SE 8.0 (1.8) or above
Supported File Formats
Aspose.TeX for Java supports the following supported file formats :
- Plain text TeX files
- LaTeX files
Advanced Java TeX Files Typesetting API Features
Typeset TeX Files
Aspose.TeX for Java can easily typeset TeX files to get documents in various formats.
Load and save TeX files - Java
import com.aspose.tex.InputFileSystemDirectory; import com.aspose.tex.OutputFileSystemDirectory; import com.aspose.tex.TeXConfig; import com.aspose.tex.TeXJob; import com.aspose.tex.TeXOptions; import util.Utils;
// Create conversion options for ObjectLaTeX format upon ObjectTeX engine extension. TeXOptions options = TeXOptions.consoleAppOptions(TeXConfig.objectLaTeX()); // Specify the input working directory if needed. // It is required when the main input has dependencies (e.g. images). options.setInputWorkingDirectory(new InputFileSystemDirectory(Utils.getInputDirectory())); // Specify a file system working directory for the output. options.setOutputWorkingDirectory(new OutputFileSystemDirectory(Utils.getOutputDirectory())); // Run the job. new TeXJob(Utils.getInputDirectory() + "hello-world.tex", new XpsDevice(), options).run();