Convert TeX and LaTeX

TeX converter API Solution for .NET.

Aspose.TeX is an API to the Object TeX system. For details on TeX, see Introduction to TeX . Developers can easily convert TeX and LaTeX to PDF, XPS, PNG, JPG, BMP, and TIFF formats by integrating the API version for C# .NET. Below is a code example that programmers can enhance and integrate into LaTeX solutions.

The API solution for .NET here lets you convert TeX and LaTeX files programmatically, but you may find it useful to see and try out cross-platform Converters developed using this native API. Here you can also find applications to create and edit TeX files, tables, graphics, to merge multiple TeX files into one PDF file, etc.

Convert LaTeX to Images, XPS, PDF, SVG via C# .NET.

The API supports BMP, JPEG, PDF, SVG, TIFF, XPS, and PNG as output formats. To convert TeX files to Images, PDF, XPS, or SVG, follow these steps:

  1. Create an instance of the TeXOptions class.
  2. Specify the file system working directory for the output/input using the OutputWorkingDirectory / InputWorkingDirectory options.
  3. Initialize save options using the BmpSaveOptions , PngSaveOptions , TiffSaveOptions , JpegSaveOptions , PdfSaveOptions , SvgSaveOptions , or XpsSaveOptions class. The latter class is the default.
  4. Create an instance of the TeXJob class, passing the appropriate output device as an argument ImageDevice , PdfDevice , SvgDevice , or XpsDevice and run the conversion using the Run() method.

Aspose.TeX for .NET works well in any development environment that supports C#, but the following requirements are strongly recommended:

  • .NET Framework 4.0 or later.
  • .NET Standard 2.0 or later.
  • Microsoft Windows desktop (7, 8, 10).
  • Microsoft Visual Studio 2010 or later.
C# code example: TeX(LaTeX) to Images, XPS, PDF or SVG conversion
Input file
Output format
Select the target format

        
 



FAQ

1. Can I convert TeX with this API solution?

Aspose.TeX has functionality that allows you to convert TeX and LaTeX files to other formats online or programmatically. If you need to transform your files instantly online, you may like to use the cross-platform TeX Converter application.

2. What Conversions are supported?

This conversion functionality supports JPEG, BMP, PNG, TIFF, SVG, PDF, and XPS as output formats.

3. Is the functionality free?

The cross-platform converters are free, while for the API solution you can get a free trial and then buy the product if needed.

  

Support and Learning Resources